Replace cmd with powershell on your system and see how it runs.
Not a member of The Register? Create a new account here.
Remember me on this computer? Post anonymously?