Hi everyone,
I'm trying to execute a .bat file in VB6 (silent window mode) with following code.
Set WshShell = CreateObject("WScript.Shell")
cmds = WshShell.RUN("E:\My Folder\RunScript.bat", 0, True)
Set WshShell = Nothing
Things work absolutely fine if there's no space in 'My Folder'
.but call fails if such a space is encountered. How can I solve this issue?