Categories:
Administration (161)
Adware Spyware (43)
Apache (20)
Bluetooth (127)
DOS Commands (2)
Edge (28)
General (5)
Internet Connection (21)
Internet Explorer (224)
Media Center (14)
Media Player (135)
Mozilla Firefox (22)
MS Access (9)
Performance (204)
PHP (25)
Programming (36)
Security (109)
Silverlight (22)
Tips (144)
Tools (312)
Tutorials (40)
Windows 10 (168)
Windows 7 (1411)
Windows 8 (1712)
Windows Phone (33)
Windows Server 2008 (165)
Windows Server 2012 (84)
Windows Server 2016 (23)
Windows Vista (71)
Windows XP (23)
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
2017-12-05, 729👍, 0💬
Popular Posts:
What is "Interactive Services Detection" in my Windows 7 service list? And how is "Interactive Servi...
What is Windows Genuine Advantage Validation Tool - Download Program Files (DPF)? Windows Genuine Ad...
Where to find tutorials on managing Windows 8 startup programs? Here is a collection of tutorials on...
What is service "AeLookupSvc" on Windows Vista? "AeLookupSvc" is a system service with the display n...
Have a windows 8 computer and need to download the Visual C++ Redistributable for visual studio 2012...