SyntaxFix
Write A Post
Hire A Developer
Questions
The dir you specified is a working directory of running process - it doesn't help to find executable. Use cmd /c winrar ... to run process looking for executable in PATH or try to use absolute path to winrar.
dir
cmd /c winrar ...