|
-
Oct 3rd, 2000, 02:23 PM
#1
Thread Starter
Member
i have an exe file that have a command executed in dos "FILE2CD (path of a file)" i'm trying to execute that command with visual basic, first i have to call my exe file,that's well done, but then i have to run the dos command with the path , and that's all in visual basic,does anyone have an idea ow to do that??
Sorry my english,i'm french
thanxs
-
Oct 3rd, 2000, 02:42 PM
#2
Fanatic Member
Do you mean this?
Code:
ChDir = "C:\Windows" 'set the path
Shell "Calc.exe" 'execute a program
-
Oct 3rd, 2000, 02:45 PM
#3
Guru
ChDir is a function, not a property... 
Code:
ChDir = "C:\Windows" ' Wrong
Call ChDir("C:\Windows") ' Correct
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
|