Link to home
Start Free TrialLog in
Avatar of Delboy
DelboyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Shell to cmd.exe

Hi Guys, I need to run a .bat file from my vb application.  The .bat file cantains a line of text 'copy %1 %2'. where 1 is a path to a bunch of html files and 2 is the results file..(this batch file runs fine with parameters being passed to it from dos)..  I need to run this .bat file from my vb application and pass some parameters with it..  The shell command only seems to let you run the file and not pass any parameters..  please can anyone help..


Regards,


Derek.  
ASKER CERTIFIED SOLUTION
Avatar of EDDYKT
EDDYKT
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Delboy

ASKER

Thanks for the answer EDDYKT (the typo did get me for a few minutes), and thanks to cjard for the explantion..