From 24a4458c3fef96f6a006cfe450ab70cbee490363 Mon Sep 17 00:00:00 2001 From: Le Chau Date: Wed, 19 Aug 2020 14:03:43 +0700 Subject: [PATCH] =?UTF-8?q?C=E1=BA=ADp=20nh=E1=BA=ADt=20s=E1=BB=ADa=20l?= =?UTF-8?q?=E1=BB=97i=20file=20Startup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 5. CreateStartup.BAT | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 5. CreateStartup.BAT 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