I just tried it, and against my intuition, it picked up the new commands at the end (on Windows XP)
I created a batch file containing
echo Hello
pause
echo world
I ran the file, and while it was paused, added
echo Salute
Saved it and pressed enter to contine the pause, all three prompts were echoed to the console.
So, go for it!
Related Contents:
- 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?
- Windows Batch Variables Won’t Set
- At which point does `for` or `for /R` enumerate the directory (tree)?
- Parallel execution of shell processes
- How can I echo a newline in a batch file?
- Why does %date% produce a different result in batch file executed as scheduled task?
- Batch character escaping
- How do you loop through each line in a text file using a windows batch file?
- Format date and time in a Windows batch script
- How to delete files/subfolders in a specific directory at the command prompt in Windows
- Which comment style should I use in batch files?
- How do I escape ampersands in batch files?
- How to use random in BATCH script?
- Set the value of a variable with the result of a command in a Windows batch file [duplicate]
- FORFILES date -after- (date calc in cmd file)
- Windows XP or later Windows: How can I run a batch file in the background with no window displayed?
- What does %date:~-4,4%%date:~-10,2%%date:~-7,2%_%time:~0,2%%time:~3,2% mean?
- How to code a BAT file to always run as admin mode?
- Windows batch: formatted date into variable
- Secure FTP using Windows batch script
- What is the proper way to test if a parameter is empty in a batch file?
- How to wait for a process to terminate to execute another process in batch file
- File redirection in Windows and %errorlevel%
- What does symbol ^ mean in Batch script?
- Get current batchfile directory
- How to check if a file exists from inside a batch file [duplicate]
- Batch files: List all files in a directory with relative paths
- Show a popup/message box from a Windows batch file
- How to check if a directory exists in %PATH%
- Create list or arrays in Windows Batch
- Text garble in batch script for wmic command
- Redirecting Output from within Batch file
- How to make a batch file delete itself?
- Is there a way to redirect ONLY stderr to stdout (not combine the two) so it can be piped to other programs?
- “rd” exits with errorlevel set to 0 on error when deletion fails, etc
- How do I shutdown, restart, or log off Windows via a bat file?
- Counting in a FOR loop using Windows Batch script
- Rename multiple files in cmd
- Why does only the first line of this Windows batch file execute but all three lines execute in a command shell?
- What is the easiest way to reset ERRORLEVEL to zero?
- Dealing with quotes in Windows batch scripts
- Why %processor_architecture% always returns x86 instead of AMD64
- Execute multiple batch files concurrently and monitor if their process is completed
- Out of a git console: how do I execute a batch file and then return to git console?
- Order in which command prompt executes files with the same name (a.bat vs a.cmd vs a.exe)
- Why does this batch variable never change even when set?
- UTF-16 to UTF-8 conversion (for scripting in Windows)