Run DOS command in VBscript


vbscript_icon

DOS command can be run in Vb Script using the Shell object
The below script runs a mkdir command through Vb Script

Set objShell = CreateObject(“WScript.Shell”)
objShell.Run “%comspec% /c mkdir dir1″




You can leave a response, or trackback from your own site.


Further Reading
    None Found




Leave a Reply

Anti-Spam Quiz:

Twitter Delicious Facebook Digg Stumbleupon Favorites More
336 queries in 3.034 seconds.