Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dos commands under Visual Basic?

Status
Not open for further replies.

Fursten

Programmer
Dec 27, 2000
403
PT
Hi,

Can someone tell me how can I execute a DOS command from Visual Basic? I´m specially interested in what concerns to delete files/folders command.

Thank you :)
 
You can use the Shell command to execute DOS commands, but if you are trying to do this to delete folders, why not use VB's Kill command or the File System Object? - Jeff Marler B-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top