2 call :SetVariables "%~0"
\r
4 %not_close% %cscript% //nologo "%vbslib_root%\vbslib Prompt.vbs" /g_debug:1
\r
9 REM ********************************************************************
\r
10 REM Function: SetVariables
\r
11 REM ********************************************************************
\r
13 if "%ProgramFiles(x86)%" == "" set cscript=cscript
\r
14 if not "%ProgramFiles(x86)%" == "" set cscript=%windir%\SysWOW64\cscript.exe
\r
17 set not_close=cmd.exe /K
\r
19 call :GetParentPath "%~1"
\r
20 call :GetParentPath "%ret%"
\r
21 set vbslib_root=%ret%
\r
26 REM ********************************************************************
\r
27 REM Function: GetParentPath
\r
28 REM ********************************************************************
\r