| View previous topic :: View next topic |
| Author |
Message |
chasoft Member

Joined: 20 Mar 2003 Posts: 17 Location: Vietnam
|
Posted: 26/05/04 11:52 Post subject: Execute Dos command |
|
|
Hi everybody,
I want to execute Dos commands such as md, del, subst.... but I don't know how to execute them directly. The solution which I took here is to write to a bat file and execute it but I think it's too bad. So If you know how to execute Dos command directly, please show me.
Thanks you very much, _________________ Chasoft Homepage
http://www.chasoft.now.nu
http://www.chasoft.cjb.net |
|
| Back to top |
|
 |
Johnny_Bit Moderator
Joined: 15 Jun 2003 Posts: 154
|
Posted: 31/05/04 09:29 Post subject: |
|
|
| as far as i remember it is to execute "command.com /c "command"" |
|
| Back to top |
|
 |
chasoft Member

Joined: 20 Mar 2003 Posts: 17 Location: Vietnam
|
|
| Back to top |
|
 |
Johnny_Bit Moderator
Joined: 15 Jun 2003 Posts: 154
|
Posted: 08/06/04 07:37 Post subject: |
|
|
it depends on version of windows you have...
on 9x is like i said, but on NT is cdm.exe /c command commandparams |
|
| Back to top |
|
 |
chasoft Member

Joined: 20 Mar 2003 Posts: 17 Location: Vietnam
|
|
| Back to top |
|
 |
Johnny_Bit Moderator
Joined: 15 Jun 2003 Posts: 154
|
Posted: 09/06/04 06:39 Post subject: |
|
|
XP is NT...
ShellExecute example still needed? |
|
| Back to top |
|
 |
|