[Networker] Suppy input to scanner in a batch WINDOWS script
2007-09-24 04:33:22
Hi all,
I perfectly know that it is a stupid question, but I was not able to
provide a quick method to run several tapes scanner in a batch file.
My batch file is like this:
@echo off
FOR %%F IN (3 5 6 7 8 10 11 12 13) do (
sjimm [email protected] slot %%F drive 1 >> log.txt 2>&1
echo scanning tape %%F ... start >> log.txt 2>&1
scanner -imv \\.\Tape0 < input.txt
echo scanning tape %%F ... ended >> log.txt 2>&1
sjimm [email protected] drive 1 slot %%F >> log.txt 2>&1
)
and the input.txt file is simply a file with a q on the first line and a
<CR> on the second one.
Running it on friday evening I found this morning the batch waiting for a
user input asking if quit or continue.
Any suggestion to a dumb windows user??
Thanks
Pierpa
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>
|
- [Networker] Suppy input to scanner in a batch WINDOWS script,
Pierpa <=
|
|
|