englishize-cmd icon indicating copy to clipboard operation
englishize-cmd copied to clipboard

An error may be prompted while the script is run where double backslash is shown in the error message

Open wandersick opened this issue 5 years ago • 1 comments

Solution:

Remove backslash from working directory variable - UAC elevation

For cscript //NoLogo "%EnglishizeDir%Data\_elevate.vbs" "%EnglishizeDir%" "%EnglishizeDir%\EnglishizeCmd.bat" >nul 2>&1

%EnglishizeDir%\EnglishizeCmd.bat should be %EnglishizeDir%EnglishizeCmd.bat

wandersick avatar Jul 21 '20 11:07 wandersick

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.

wandersick avatar Jul 31 '20 13:07 wandersick