chmac
chmac copied to clipboard
An error may be prompted while the script is run where double backslash is shown in the error message
Solution:
Remove backslash from working directory variable - UAC elevation
For cscript //NoLogo "!ChMacDir!Data\_elevate.vbs" "!ChMacDir!" "!ChMacDir!\chmac.bat" >nul 2>&1
!ChMacDir!\chmac.bat should be !ChMacDir!chmac.bat
In my test, the additional backslash should not affect functionality as Command Prompt should still handle things correctly despite this. The error in the title is non-existent. It would not cause an error. Therefore, this is low priority.