All Questions
2
questions
2
votes
0
answers
27
views
impossible to open .bat files by double clicking: can't find file [duplicate]
My problem is that when i double click a .bat file it doesn't get opened by cmd and i get this error message:
"Windows cannot find 'C:\users\ (my name)\Desktop\test.bat'. Make sure you typed the ...
2
votes
1
answer
2k
views
Why doesn't environment variable get updated in cmd without restart?
CMD commands:
setx SOMEVARIABLE "newpath" /M
setx SOMEVARIABLE "%SOMEVARIABLE%;newpath2" /M
Expected output on ECHO %SOMEVARIABLE%:
newpath;newpath2
Actual output:
%SOMEVARIABLE%
Actual value ...