cancel
Showing results for 
Search instead for 
Did you mean: 

bemcmd erase, label and inventory multiple media slots

arectech
Level 2
Hi,
I'm using bemcmd to run commands on several media slots. This works but, I wonder if there is a better way to select a range of media slots.
For example:

# Erase Media job:
"C:\Program Files\Symantec\Backup Exec\bemcmd" -v -o111 -d"QUALSTAR 1" -s"1,2,3,4,5,6,7,8" -e:1 -pr:Medium -w

# Label Media job:
"C:\Program Files\Symantec\Backup Exec\bemcmd" -v -o113 -d"QUALSTAR 1" -s"1,2,3,4,5,6,7,8" -m"07-10-09" -pr:Medium -w

# Inventory Media job:
"C:\Program Files\Symantec\Backup Exec\bemcmd" -v -o103 -a"QUALSTAR 1" -s"1,2,3,4,5,6,7,8" -pr:Medium -w
3 REPLIES 3

Ken_Putnam
Level 6
According to the Command Line Utility Guide, you can indeed specify multiple slots in one execution

See ftp://exftpp.symantec.com/pub/support/products/Backup_Exec_for_WindowsNT/297835.pdf

arectech
Level 2
Thanks for responding

I do specify multiple slots separated by commas and this does work.  I wonder if there is a better way than listing them all out which could look pretty ugly if I wanted to do 20 tapes.

Ken_Putnam
Level 6
Don't know what to tell you.  I've never tried using mutiple slots on one execution, but the Applet Guide specifically uses plural "slots" when describing the -s operand

if all else fails you could create a cmd file of multiple lines, one per slot, I guess