Startseite

software

dcd

fid

IsTapeInserted

TapeStatus

Backup-Suite
Wappen

IsTapeInserted v1.1 for WinNT 4.0

  Vote for it at SuperShareware.com
usage | license | download
  

With this commandline software you can easily check if a tape is in the tapedrive. This is very important when you want to make a backup with NTBackup. If no tape is present, NTBackup ask the user to insert a tape - which is very useless when using script-files - and stops working.

These two codelines can keep you out of a whole bunch of troubles:

IsTapeInserted.exe
if %errorlevel%==0 NTBackup.exe

A much more complex usage is shown in the Backup-Suite.

usage

IsTapeInserted v1.1: WinNT console utility to check if a Tape is inserted.
(c) Tobias Deutsch - 12.Jan.2001

syntax:
IsTapeInserted.exe /?
IsTapeInserted.exe
IsTapeInserted.exe /n

/?: display this help.

/n : set the number of the tapedrive. : 0-9

If started without parameter, the default drivenumber is 0

/s Silent-mode. The error-code is the only output.

Return Values:
0 ... ok - media is inserted
1 ... ok - no media is inserted
10 ... Usagemessage
11 ... Wrong Parameter
20 ... Tapedrive - unknown error
21 ... Tapedrive - not found
22 ... Tapedrive - not ready
32767 ... unknown error

I have implemented (but not tested) that you can use this utility with a server which has more than one tapedrive.

license

You are allowed to use this software free of any charges (but please send me an e-mail for every tape-drive you use it). This software is delivered AS IS. The author cannot be held responsible for any damages caused by using this software.

This program is a not supported software. Correspondence about problems with the usage to the authors may never be answered (but i dont think that i won't answer your mails :).

The software i used to develop this program was Delphi 5. If you have Delphi 5 and you are interrested, you can have a look to the source-code (you are even allowed to alter it, but please let me know what you did and why).

download

IsTapeInserted v1.1 executeable only. 16.Jan.2001
IsTapeInserted v1.1 sourcecode only. 16.Jan.2001