|
-
Jun 6th, 2001, 04:51 PM
#1
Thread Starter
Junior Member
executing dos commands
How can I run commands like copy, or md ,cd... from VB
Thanks...
-
Jun 6th, 2001, 04:55 PM
#2
Frenzied Member
retired member. Thanks for everything 
-
Jun 6th, 2001, 05:08 PM
#3
Code:
Shell "Command.com copy /parameters"
'or
Shell "copy /parameters"
-
Jul 17th, 2001, 10:10 PM
#4
Hyperactive Member
Would there be anyway to get the DOS output back to the VB app?
-
Jul 17th, 2001, 10:21 PM
#5
So Unbanned
You can use > to output the prompt to a file.
C:\copy c:\file d:\ >output.txt
...and Tada!
Good luck,
-
Jul 17th, 2001, 10:22 PM
#6
So Unbanned
Oh yeah, you can then use the Open/Close to get the output.
API sendmessage would probably work too.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|