James' blog
Programming and System Administration
Monday, June 8, 2009
Tricks with the Echo command in XP
rem generate list with echo
for /l %a in (1,1,9) do echo "station-0%a"
rem Generate a file with echo to a room of computers
for /l %a in (1,1,50) do echo "station-%a" > \\station-%a\c$\myfile.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment