|
-
July 28th, 2004, 09:28 AM
#2
There are a variety of methods available.
You could simply make a system call:
system("allowio test.bat /a");
...although this method is probably not PC these days.
There's the spawn functions, with a likely candidate for your needs being:
_spawnlp( _P_WAIT, "allowio", "allowio", "test.bat", "/a", NULL );
There are others too, _exec, ShellExecute. I'm sure there are more...
Hope this helps,
- Nigel
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
|