How can i run multiple cmd commands in the single cmd session? So for example i want to start cmd, followed by "cd ", maybe follow it by “dir > test.txt” followed by “whoami”
As soon as i launch the Cmd.exe /C it compiles that line and closes the cmd session.
Another option is to just always use absolute paths. I prefer this method most of the time because I prefer not to use BAT files in actionscript so that I get feedback for every command instead of the BAT file as a whole.
Interesting. Thank you so much guys; Will test it. I had another question related to Dir via command line vs find files command. Will open a separate thread.