Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


how to execute a shell command from a vbs

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,24355
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> how to execute a shell command from a vbs
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 how to execute a shell command from a vbs - 7/31/2005 7:42:29 AM   
  3_de_zero

 

Posts: 1
Score: 0
Joined: 7/31/2005
Status: offline
hello

very newbish question from a newbie

how do I execute a shell command from a vbs?

for exemple how do I use assoc


or mdir or whatever from a vbs

thank you

_____________________________

I may need you to explain in more detail
 
 
Post #: 1
 
 RE: how to execute a shell command from a vbs - 7/31/2005 8:00:42 AM   
  Snipah


Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
Hi 3_de_zero,

You can use objShell.Run "%comspec% /c mdir Testdir"

You can use Search (upper Right) to get a hold of more Run / Exec commands and scripts...

Snipah

_____________________________

For more information, please see the "Read me First" topic.

http://www.visualbasicscript.com

(in reply to 3_de_zero)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> how to execute a shell command from a vbs Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts