REM Select the batch file you wish to run without console. SETVAR path = %DIALOG_FILE% COND %path% == ? FQUIT && CONTINUE SETVARO dest = echo %path%.vbs SHELL echo Set oShell = CreateObject ("Wscript.Shell") > %dest% SHELL echo Dim strArgs >> %dest% SHELL echo strArgs = "cmd /c ""%path%""" >> %dest% SHELL echo oShell.Run strArgs, 0, true >> %dest%