&
is used to separate commands. Therefore you can use ^
to escape the &
.
More Related Contents:
- Batch character escaping
- Escape percent in bat file
- Special Characters in Batch File
- Escape percent signs in given variables
- How does the Windows Command Interpreter (CMD.EXE) parse scripts?
- How do I get current date/time on the Windows command line in a suitable format for usage in a file/folder name?
- What is the reason for “X is not recognized as an internal or external command, operable program or batch file”?
- How do I run two commands in one line in Windows CMD?
- Symbol equivalent to NEQ, LSS, GTR, etc. in Windows batch files
- Windows batch files: .bat vs .cmd?
- How to delete files/subfolders in a specific directory at the command prompt in Windows
- How do I use spaces in the Command Prompt?
- How to test if a file is a directory in a batch script?
- Windows XP or later Windows: How can I run a batch file in the background with no window displayed?
- XCOPY still asking (F = file, D = directory) confirmation
- Capture output command CMD
- Redirecting Output from within Batch file
- Creating a file name as a timestamp in a batch job
- “rd” exits with errorlevel set to 0 on error when deletion fails, etc
- Why does only the first line of this Windows batch file execute but all three lines execute in a command shell?
- Curl not recognized as an internal or external command, operable program or batch file
- How to echo “2” (no quotes) to a file, from a batch script?
- Why is the FOR /f loop in this batch script evaluating a blank line?
- Rename all files in a directory with a Windows batch script
- How do I minimize the command prompt from my bat file
- Batch file encoding
- Why doesn’t my stderr redirection end after command finishes? And how do I fix it?
- Using echo y as an automated response to a pcp hostkey prompt
- Batch program to to check if process exists
- ERRORLEVEL vs %ERRORLEVEL% vs exclamation mark ERRORLEVEL exclamation mark