WEB LISTING 3: WhichVBS.cmd @echo off BEGIN COMMENT :: Wrapper batch file for the which.vbs VBScript file. :: If you haven't saved the CScript option to disable the Microsoft header logo with: :: cscript //NoLogo //S :: then the For line should look like: :: for /f "skip=2 tokens=1*" %%a in ('cscript C:\Utils\Scripts\VBS\which.vbs %1 %2') do echo %%a %%b END COMMENT echo. for /f "tokens=1*" %%a in ('cscript C:\Utils\Scripts\VBS\which.vbs %1 %2') do echo %%a %%b goto End :End