Search found 4 matches
- 07 Apr 2013 15:56
- Forum: DOS Batch Forum
- Topic: Quotations in an if statement.
- Replies: 2
- Views: 3025
Re: Quotations in an if statement.
Thank you very much you not only solved my problem but split the code in half. I have a lot to learn about batch.
- 07 Apr 2013 10:36
- Forum: DOS Batch Forum
- Topic: Quotations in an if statement.
- Replies: 2
- Views: 3025
Quotations in an if statement.
Hello, I'd like to know how to be able to get this program to recognize filenames with spaces. I tried changing the quotes to braces for the ifs but then I get an error at the if statement with the asterid. Example Run: notepad++ "SDL notes" notepad++.bat @echo off setlocal if "%1&quo...
- 20 Mar 2013 13:26
- Forum: DOS Batch Forum
- Topic: ----- was not recognized
- Replies: 2
- Views: 3913
Re: ----- was not recognized
Thank you so much. A very clear and straightforward solution.
- 20 Mar 2013 12:27
- Forum: DOS Batch Forum
- Topic: ----- was not recognized
- Replies: 2
- Views: 3913
----- was not recognized
Hello, I'm new to batch scripting and don't have any idea how to solve this problem. I'm on windows 7 and am attempting to do something like this: for %%e in (%path%) do echo %%e Where I'm trying to cycle though each file in the path. The problem is this batch file will not work since my path has sp...