AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MOD-Eject

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
freude
Guest





PostPosted: Thu Feb 17, 2005 11:05 pm    Post subject: MOD-Eject Reply with quote

hi everybody,

AHK is really great.

need some help to make a eject-script for a mod-drive. the problem with mod-drives is, that a "normal" eject ignores current write-accesses and eject the mod.

the eject-button within the windows explorer denies ejecting a mod during a write-access. so i'm looking for a script that uses the eject-function of the windows explorer......

freude
-- sry for my bad english
Back to top
BoBo
Guest





PostPosted: Thu Feb 17, 2005 11:49 pm    Post subject: Reply with quote

Check those AHK commands:
Drive
DriveGet

Cool
Back to top
freude
Guest





PostPosted: Mon Feb 21, 2005 10:45 am    Post subject: MOD-Drive / Eject a MOD Reply with quote

hello,

i tried the "drive eject" command but it doesn't work with the mod-drive....

greets,
freude
Back to top
freude
Guest





PostPosted: Tue Feb 22, 2005 10:40 am    Post subject: MOD-Eject Reply with quote

it's me again.....

i'm still searching for a script to eject a MOD. the "eject" command doesn't work.... anyone got an idea ?

greets,
freude
Back to top
BoBo
Guest





PostPosted: Tue Feb 22, 2005 11:02 am    Post subject: Reply with quote

Quote:
In another quirk, by default, Windows XP and Windows 2000 users can only format or eject disks if they have administrator privileges on a computer. There is a separate Fujitsu utility that can be installed that allows administrators to grant format and eject privileges to others. This utility, the Fujitsu MO Eject Tool, adds functionality for all users. It will automatically eject disks on shut down, as well as on restarts, hibernate, standby mode, and log off. Once the MO Eject Tool is loaded on a user's machine, it can be toggled on or off at the task tray.
Maybe here's another hurdle to take ...
Back to top
BoBo
Guest





PostPosted: Tue Feb 22, 2005 11:28 am    Post subject: Reply with quote

[The Utility] Use it at your own risk. Backup!
Back to top
BoBo
Guest





PostPosted: Sun Feb 27, 2005 1:06 am    Post subject: Reply with quote

As I guess the below checks the status of a media within a SCSI-Drive (drive_number 0-9), it could (???) work with an MOD as well !??????
Rolling Eyes
Quote:
TAPEUTIL 1.2
(C) 2004 by Bill Stewart (bill.stewart@frenchmortuary.com)

LICENSE AGREEMENT

This program is provided as copyrighted freeware. You are free to use it in any
environment without payment to the author.

DESCRIPTION

In investigating the Windows 2000/XP/Server 2003 ntbackup program to perform
backups, I noticed that you can retension a tape from the ntbackup GUI, but
there is no command-line equivalent. Hence TAPEUTIL.EXE.

TAPEUTIL is a Win32 console (command-line or text-based) program that can:

* Detect if a tape is inserted
* Eject the currently inserted tape (if supported)
* Retension the tape (if supported)

SYNTAX

TAPEUTIL [-e | -r] [-q] drive_number

-e Eject the media from the drive.
-r Retension the media in the drive.
-q Run quietly (no output).
drive_number The number of the tape drive, numbered 0 through 9.

EXIT CODES

0 No error.
1 Incorrect function.
6 Unable to open the specified drive.
21 The device is not ready.
50 The request is not supported.
120 Requires Windows NT 4.0 or later.
1109 Unable to unload the media.
1110 The media in the drive may have changed.
1112 No media in drive.

For other errors, use NET HELPMSG followed by the error number (Windows 2000
and later only).

Here are some common causes for the errors:

1 The tape drive in this machine does not support retensioning.
6 Invalid drive number specified.
21 The drive is in an "eject" state but the media has not been removed.
1110 The drive is still loading newly inserted media.

VERSION HISTORY

1.2 (28 Apr 2004):

* Added -e (eject) option.
* Improved Win32 error handling.

1.1 (15 Apr 2004):

* Changed exit codes to match Win32 error codes, and implemented better error
handling.

1.0 (13 Apr 2004):

* Initial version.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group