Categories:
Administration (10)
Adware Spyware (7)
Apache (10)
Bluetooth (125)
DOS Commands (1)
Edge (28)
General (2)
Internet Explorer (217)
Media Center (12)
Media Player (11)
Mozilla Firefox (18)
PHP (15)
Programming (8)
Security (4)
Silverlight (15)
Tips (17)
Tools (218)
Tutorials (5)
Windows 10 (166)
Windows 7 (636)
Windows 8 (1091)
Windows Phone (33)
Windows Server 2008 (165)
Windows Server 2012 (84)
Windows Server 2016 (23)
Windows Vista (52)
Collections:
Other Resources:
Space - Delimiter for Batch File Parameters
What is the character to separate batch file parameters?
✍: FYIcenter.com
When you specify parameters to invoke a batch file,
the space character is used as the delimiter to separate parameters.
For example, if you enter "Batch-File-Parameters.bat 1 2 3 4 5", you are providing 5 parameters to the batch file.
Multiple space characters entered together are used as a single delimiter.
Here are more examples on how space characters are used as the delimiter to separate batch file parameters:
C:\fyicenter>Batch-File-Parameters.bat 1 2 3 4 5 (Batch-File-Parameters.bat) (1) (2) (3) (4) (5) (1 2 3 4 5) C:\fyicenter>Batch-File-Parameters.bat 1 2 3 4 5 (Batch-File-Parameters.bat) (1) (2) (3) (4) (5) (1 2 3 4 5) C:\fyicenter>Batch-File-Parameters.bat 1 2 3 4 5 < nul (Batch-File-Parameters.bat) (1) (2) (3) (4) (5) (1 2 3 4 5)
⇒ Quotations in Batch File Parameters
⇐ %1 and %* - Receive Parameters in Batch File
2021-11-12, 1530👍, 0💬
Popular Posts:
Can I disable Windows service "PCAngel.exe - PC Angel" to speedup my computer? Windows service "PCAn...
How to increase the remote login limit on Windows 10? By default, Windows 10 only allows 1 remote lo...
What are default background services on a Windows 7 Home Premium computer? If you are running a Wind...
Can I remove startup application "atiptaxx.exe - ATI Desktop Control Panel" to speedup my computer a...
A collection of 12 tutorials on creating, deleting and managing Windows services: What is a Windows ...