Anyone know why system change directory calls don't work?

Andrej Mitrovic none at none.none
Sat May 28 21:54:10 PDT 2011


E.g.:

import std.process;
system(r"cd C:\newfolder");  // no effect

It just stays in the same folder as the exe. I can use SetCurrentDirectoryA as an alternative, but why doesn't it work via the system call?


More information about the Digitalmars-d-learn mailing list