-
Hey,
I'm sure that this is simple as well. So simple in fact that I have searched this BB back about a hundred posts, but no answer for this.
How do I execute a DOS .BAT file. I am already using the shell(path) but I'll bet that I'm using it wrongly. Please help with syntax.
Also, can I write a .BAT file just like I would a .TXT?
------------------
Thanks,
MiDaWe
-
1.)
You can use the Shell function like:
Shell "c:\autoexec.bat"
or you can use the ShellExecute API call.
2.) Yes, open a .bat file the same way and write to it the same way as a txt file.
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470 Add Me ICQ Me
AIM: TomY10
PERL, JavaScript and VB Programmer
-
Thank you. Thank you. Thank you.
Short simple and to the point just the way that I like it : )
------------------
Thanks,
MiDaWe