How would i run dir from my program is there sum way i can let the program use the command.com program or what...
I am trying to create a linux terminal emulator under windows
Printable View
How would i run dir from my program is there sum way i can let the program use the command.com program or what...
I am trying to create a linux terminal emulator under windows
well you can use the dos.h, and call stuff with the system() function...
altho i think in your situation you are creating a terminal so basically you want to create your own windows Shell...
so you will have more work to do than just calling simple dos commands.
use the api calls:
ShellExecute
ShellExecuteEx
See if that helps.