Search found 3 matches
- 2023-Aug-25, 6:59 pm
- Forum: Windows CMD Shell
- Topic: PUSHD example logic inverted
- Replies: 3
- Views: 9982
Re: PUSHD example logic inverted
Thank you!
- 2023-Aug-19, 3:37 pm
- Forum: Windows CMD Shell
- Topic: PUSHD example logic inverted
- Replies: 3
- Views: 9982
PUSHD example logic inverted
Hello, On the PUSHD page, there is this example: C:\> pushd "C:\demo\demo.1" 2>nul && Echo Error not a folder I am pretty sure it should be the following: C:\> pushd "C:\demo\demo.1" 2>nul || Echo Error not a folder Thanks again for this great resource! P.S., I am a bit c...
- 2022-Oct-27, 4:46 pm
- Forum: Windows CMD Shell
- Topic: WHERE ignores trailing whitespace in PATH
- Replies: 0
- Views: 9271
WHERE ignores trailing whitespace in PATH
So, I accidentally put trailing whitespace in a SET PATH=… command. I was very confused because WHERE would show me the correct location of the executable I had created, but CMD continued to give me a “'«command»' is not recognized as an internal or external command, operable program or batch file.”...