Julia shell and Windows shell (cmd) giving different result

The shell mode in the REPL isn’t really a shell.