ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
uiso_path: C:\Program Files (x86)\UltraISO\UltraISO.exe
files_folder_path: C:\Users\user\Documents\bin folder
outputfolder_path: C:\Users\user\Documents\output folder
testfile: C:\Users\user\Documents\bin_out\test.txt
ok write test
ok testfile
Для продолжения нажмите любую клавишу . . .
@echo off
set "uiso_path=C:\Program Files (x86)\UltraISO\UltraISO.exe"
set "files_folder_path=C:\Users\user\Documents\bin folder"
set "outputfolder_path=C:\Users\user\Documents\output folder"
set "testfile=C:\Users\user\Documents\output folder\test.txt"
echo uiso_path: %uiso_path%
echo files_folder_path: %files_folder_path%
echo outputfolder_path: %outputfolder_path%
echo testfile: %testfile%
IF EXIST %uiso_path% (echo ok uiso) ELSE (echo fail uiso)
IF EXIST %files_folder_path% (echo ok folderbin) ELSE (echo fail folderbin)
IF EXIST %outputfolder_path% (echo ok outputfolder) ELSE (echo fail outputfolder)
echo test >> %testfile% && echo ok write test
IF EXIST %testfile% (echo ok testfile) ELSE (echo fail testfile)
pause
Кинь кусок кода, где вызывается функция load_win()
и ещё не понятно, как moon выходит наружу из функции cm_start, нужно её или глобалом объявлять, или возвращать из функции