Use "cmd.exe /x/d/c" as the default PERL5SHELL on Windows NT/2K/XP
[p5sagit/p5-mst-13.2.git] / win32 / win32.c
index c409203..0b4e220 100644 (file)
@@ -506,7 +506,7 @@ get_shell(void)
         *     for).
         */
        const char* defaultshell = (IsWinNT()
-                                   ? "cmd.exe /x/c" : "command.com /c");
+                                   ? "cmd.exe /x/d/c" : "command.com /c");
        const char *usershell = PerlEnv_getenv("PERL5SHELL");
        w32_perlshell_items = tokenize(usershell ? usershell : defaultshell,
                                       &w32_perlshell_tokens,