diff --git a/5. CreateStartup.BAT b/5. CreateStartup.BAT new file mode 100644 index 0000000..911df71 --- /dev/null +++ b/5. CreateStartup.BAT @@ -0,0 +1,11 @@ +@echo off +echo Dang tao auto start + +FOR /F "tokens=* USEBACKQ" %%F IN (`cd`) DO ( +SET CurrentDir=%%F +) + +for %%a in ("%CurrentDir%") do set "p_dir=%%~dpa" + +SCHTASKS /CREATE /SC ONLOGON /TN AIParking /TR "%p_dir%AIParkingSystemManagement\AIParkingSystemManagement.exe" /RL HIGHEST +echo Tao xong \ No newline at end of file