Skip to main content

All Questions

0 votes
1 answer
466 views

How using SET command with a call to CMD.EXE? [duplicate]

I have to create system variable in Windows through calling CMD.Exe. I try : cmd.exe /C maVar=maVal Saddly, no maVar is created. If i open CMD.Exe and type : maVar=maVal -> maVar is created. ...
Walter Fabio Simoni's user avatar
0 votes
2 answers
1k views

Directory path in environment variable as argument to CMD command DIR

How can a Windows/CMD environment variable be used as argument to CMD's builtin dir command? >echo %pythonpath% C:\Program Files\Python35\Scripts\ >dir %pythonpath% The system cannot find the ...
handle's user avatar
  • 287