Cập nhật sửa lỗi file Startup
This commit is contained in:
11
5. CreateStartup.BAT
Normal file
11
5. CreateStartup.BAT
Normal 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
|
||||||
Reference in New Issue
Block a user