What Windows API functions are available to execute command prompt’s functionality? For example, I like to execute dir command and want to show the output in GUI without using cmd.exe in Windows.
What Windows API functions are available to execute command prompt’s functionality? For example, I
Share
You can start
cmd /c dir S:\ome\Pathfrom your process and grab the output. Otherwise it’s not possible. But if you’re not interested in particular formatting details ofdirthen you’re probably better off just enumerating files/directories and display them.