Skip to content

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

@wandersick

Description

@wandersick

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions