I am trying to execute a simple command line in my visual basic application to launch a batch file.
for example if i wanted to delete a picture from my harddrive, the ms-dos prompt would be:
delete c:\pictures\christmas.jpg
How do I execute it from VB? I have heard of a DOCMD or something like that. Please...I need immediate help.
Ads
for example if i wanted to delete a picture from my harddrive, the ms-dos prompt would be:
delete c:\pictures\christmas.jpg
How do I execute it from VB? I have heard of a DOCMD or something like that. Please...I need immediate help.
Ads