Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VMQUERY

Status
Not open for further replies.

YouEnjoyMyself

IS-IT--Management
Jul 27, 2004
111
0
0
US
Ok The other day I asked a question on scripting the bpexpdate command, now I need a little more help (Thanks). I want to script the vmquery command so that it reads a list of tapes and then outputs that info to one long big text file.

Here is what I have so far (Operating system: Windows 2000)

FOR /F %%i IN (Tapes.txt) DO E:\\veritas\volmgr\bin\vmquery -m %%i >E:\\vmquery.txt

Thanks in advance.
 
Sorry for even posting this I realized my slight mistake...
 
What was the slight mistake, I would finfd this script useful if you have it working thanks
 
The change is highlighted in Bold:

FOR /F %%i IN (Tapes.txt) DO E:\\veritas\volmgr\bin\vmquery -m %%i >>E:\\vmquery.txt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top