Cập nhật sửa lỗi file Startup

This commit is contained in:
Le Chau 2020-08-19 14:03:43 +07:00
parent a74306916e
commit 24a4458c3f

11
5. CreateStartup.BAT Normal file
View File

@ -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