VBS with Space in File Path

You need to quote the file specification:

Run("%comspec% /K ""C:\Program Files\ping.bat""")

Leave a Comment