-
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
-
Do you mean this?
Code:
ChDir = "C:\Windows" 'set the path
Shell "Calc.exe" 'execute a program
-
ChDir is a function, not a property... :rolleyes:
Code:
ChDir = "C:\Windows" ' Wrong
Call ChDir("C:\Windows") ' Correct