MSFN Forum: How to run vbs from cmd? - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to run vbs from cmd? Rate Topic: -----

#1 User is offline   mikehall 

  • Group: Members
  • Posts: 9
  • Joined: 24-September 03

Posted 12 December 2003 - 09:35 AM

I'm trying to figure out how to run the vbs from a cmd file. Specifically Paul365's quicklaunch script, but I think I'm having trouble with any vbs scripts. If I double click on a script, it works fine. However if I execute it from my install.cmd file then it opens the taskbar and start menu properties. Is there a certain command line to run vbs files from a cmd file?


#2 User is offline   Viral 

  • Group: Members
  • Posts: 1
  • Joined: 11-December 03

Posted 13 December 2003 - 12:40 PM

You should be able to just do:

START /WAIT CScript <path>\<filename>.vbs //NoLogo

Where <path> and <filename> are filled in appropriately for your script.

I've noticed that depending on where you are executing your VBSes from, Windows decides it can't find START. If this is the case, use:

%windir%\system32\cmd.exe /C "START /WAIT CScript <path>\<filename>.vbs //NoLogo"

That will explicitly tell it where cmd is so it won't be silly and can find start.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy