调用关闭Windows UAC的脚本后,下一条命令将不执行。我在做什么错了?
call C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
call "C:\1c\1CEnterprise 8.msi" /qr TRANSFORMS=adminstallrelogon.mst;1049.mst DESIGNERALLCLIENTS=1 THICKCLIENT=1 THINCLIENTFILE=1 THINCLIENT=1 WEBSERVEREXT=0 SERVER=0 CONFREPOSSERVER=0 CONVERTER77=0 SERVERCLIENT=0 LANGUAGES=RU,ENG,UKR
call xcopy C:\1c\ibases.v8i C:\Users\%USERNAME%\AppData\Roaming\1C\1CEStart\. /Y
call rmdir "C:\1c\" /S /Q
call del "C:\1c.zip" 2> nul
call cd "C:\Program Files (x86)\1cv8\common\"
call start 1cestart.exe
执行第一个命令后,cmd.exe会将我带回到字符串“ C:\ Usera \ Admin \ Desktop”,仅此而已