Hello guys, I just needed a little bit of help. I was wondering if it was possible that a Batch file could start a .VBS file when I give the command to in the batch. I'm just experimenting with my knowledge of batch and seeing where I can improve on my coding skills.
Thanks in advance to all!
.Bat that runs .VBS
Moderator: DosItHelp
Re: .Bat that runs .VBS
Here are two methods. The second one requires that the .VBS filespec is associated already.
Code: Select all
@echo off
cscript /nologo "c:\folder\filename.vbs"
Code: Select all
@echo off
start "" "c:\folder\filename.vbs"
-
- Posts: 22
- Joined: 18 Oct 2013 05:28
Re: .Bat that runs .VBS
foxidrive wrote:Here are two methods. The second one requires that the .VBS filespec is associated already.Code: Select all
@echo off
cscript /nologo "c:\folder\filename.vbs"Code: Select all
@echo off
start "" "c:\folder\filename.vbs"
Thanks again Foxidrive! Like usual your codes worked like charms! Thank you very much!