Helllo Antonio,
thank you very much for your fast answer.
It works!
Kind regards
Stefan
Search found 2 matches
- 24 Feb 2023 03:12
- Forum: DOS Batch Forum
- Topic: if else [solved]
- Replies: 2
- Views: 2987
- 23 Feb 2023 07:32
- Forum: DOS Batch Forum
- Topic: if else [solved]
- Replies: 2
- Views: 2987
if else [solved]
Hello together, i have a problem with a simple task. This is my one-line-code which is directly run in cmd.exe (not in an Batch-File): C:\Temp>if not exist test.txt ( echo "not there" ) else ( echo "it's there" ) & echo "let's do the next things" My Problem is, that the code echos only "not there" i...