Networker

[Networker] Suppy input to scanner in a batch WINDOWS script

2007-09-26 12:56:01
Subject: [Networker] Suppy input to scanner in a batch WINDOWS script
From: mgolden <networker-forum AT BACKUPCENTRAL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 26 Sep 2007 09:49:58 -0700
Here's how I run a command on a bunch of values passed from the command line.  
It's ugly, but most Windoze scripts are. :-)


:Loop
IF "%1"=="" GOTO Continue

echo. %1 Yada, yada, yada..

SHIFT
GOTO Loop

:Continue
echo.Done!

+----------------------------------------------------------------------
|This was sent by mgolden AT kanbay DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>