(no title)
seligman99 | 2 years ago
The current directory is managed with SetCurrentDirectory/GetCurrentDirectory, however the cmd.exe command-line shell also stores the current directory for each drive in an environment variable like "=C:", and the CRT and shell hides all environment variables that start with a "=".
It gets mightily confused if these two concepts of current directory ever diverge.
c0pium|2 years ago
schemescape|2 years ago
I don’t mind cmd.exe and it launches instantly (same reason I frequently use notepad.exe for quick edits). That latter quality is very hard to find :)
Edit: but if you meant for scripting, yeah, batch files are terrible.
PhilipRoman|2 years ago
toast0|2 years ago