Yes I can reproduce the error from cmd. Command line argument is not even needed. Simply launching emacs from the cmd prompt gives the error when the directory path does not have an accented letter in it, and succeeds when it does. The default directory for cmd is C:\Users\Márton, that's why I couldn't reproduce the error from cmd initially.
PWD is not defined anywhere. (getenv "PWD") gives back nil in both cases.