You are here

Re: EjectUSB

6 posts / 0 new
Last post
Savio D souza
Offline
Last seen: 13 years 4 months ago
Joined: 2007-11-27 01:25
Re: EjectUSB

Hi everybody,

I came across a application called EjectUSB.

This little application can eject your usb device by terminating all the other applications running from it and then safely remove our hardware.

Now if Possible try to integrate this application into the Portable Apps Menu (by replacing the close button.)

http://www.pendriveapps.com/2008/06/18/ejectusb-safe-usb-ejection-tool/

Regards

hunted hawk
Offline
Last seen: 14 years 8 months ago
Joined: 2006-08-08 00:16
not sure

.: Disclaimer

Your use of EjectUSB is at your own risk and no guarantee is given as to the operation or
performance of said program. You may reverse engineer and/or use the source code for
EjectUSB so long as credit is given to the original author (William Hedrick) for any
derivative works.

found this at the bottom of the read me file
it seems that john might be able to use this though i think this is a planned feature for future release

BTW i portable apps menu 1.1 has a eject button though it doesn't have as much functionality

Nathan9222
Nathan9222's picture
Offline
Last seen: 2 years 5 months ago
Developer
Joined: 2007-12-06 22:35
John or someone could always

John or someone could always write a AutoHotKey script to do this, doing a search I found these forums that talk about how to do it,
First Result
Second Result
both forums include the application source so someone could get the basic idea from there and improve it to work with the menu.

An eye for an eye makes the whole world blind.
Mahatma Gandhi,
Indian political and spiritual leader (1869 - 1948)

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 2 months ago
Developer
Joined: 2006-12-06 18:07
The program linked to here is

The program linked to here is an autoit script Wink

The real link is here

The developer formerly known as ZGitRDun8705

Nathan9222
Nathan9222's picture
Offline
Last seen: 2 years 5 months ago
Developer
Joined: 2007-12-06 22:35
Cool....

im experimenting on getting a removable drive to be ejected except I cant get it to eject. I have the following code

DriveGet, list,List, REMOVABLE
DriveGet, cap, capacity, %list%:
DrivespaceFree, free, %list%:
DriveGet, fs, fs, %list%:
DriveGet, label, label, %list%:
DriveGet, serial, serial, %list%:
DriveGet, type, type, %list%:
DriveGet, status, status, %list%:
MsgBox, %list%:, %free%, %fs%, %label%, %serial%, %type%, %status%
Drive, Eject, %list%:, 1

hmm not sure on what to put after Drive, Eject but im sure there is a way to safely use all the information that is retrieved to remove only the drive that PAM is on. The above code only retrieves Removable drives so I guess its a start, ill look into this pretty soon.

An eye for an eye makes the whole world blind.
Mahatma Gandhi,
Indian political and spiritual leader (1869 - 1948)

digitxp
digitxp's picture
Offline
Last seen: 12 years 6 months ago
Joined: 2007-11-03 18:33
I'm pretty sure

that you would use the drive that it's on and check if it's fixed and if it is you don't.
Otherwise, do like the installer and look for the Portableapps folder.

Insert original signature here with Greasemonkey Script.

Log in or register to post comments