for Windows10,Windows8,Windows7,VISTA,
XP,NT,Server 2000,Server 2003,Server 2008
Home
Source Script
Batch Files
Functions
Function Library
Script Snippets
Interfacing
Tips and Tricks
Copy Tips
Menu in Batch
String Manipulation
String Operations
Date and Time
Arithmetic
FTP Batch Script
Command Index
Tutorials
My First Batch
Solid Framework
Functions
Persistency
Forum
General
Terms of Use
Enablers
About Us
Contact Us
Others
Want donate a cup of Cafe? . click .
Multiple Commands in Single Line
How to enter multiple commands into a single line.
Description:
Use
&
to separate multiple commands within a single command line.
Script:
1.
2.
cls&dir
for /l
%%a
IN (10,-1,0) do @echo.
%%a
:&echo.This is line number
%%a