For a while now I've thought it would be great if the Quit button on the PortableApps menu would also undock the USB key, instead of requiring a couple more clicks, on the Safely Remove Hardware icon, and then on the drive letter - which if there is a few choices can be awkward to work out.
Anyhow, I bumped into some code (while looking for something else) that might be a good starting point if anyone was interested.
http://www.codeproject.com/KB/system/RemoveDriveByLetter.aspx
on PAM Mods and in an independent portable app called ejectscript, there is also a tiny cmd app that performs it but I don't remember the name ATM.
It is all in this forum, just need to search a little.
If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report
but on the ejectscript you must self click the "remove usb button", this script on top do it self
Hell was full, so I came back!!!
Sorry for my lousy English!!!
it will do it for you.
i use it all the time.
the only problem is that you have to send it a parameter so you cannot use it through the PAM, but is you use some thing like PStart then it can work for ya.
Please search before posting. ~Thanks
lol i use it since it came out and i havent see that??? tztztz.
which parameter i need???? and if they a way to insert to a batch file or whatever and then convert to an exe file? have you any ideas?
greetz NeoRame
Hell was full, so I came back!!!
Sorry for my lousy English!!!
on PStart too, but I don't use any command line option because I want to decide when to eject the script, sometimes you have to wait until a "* portable" finish closing before ejecting, and sometimes you want to close but not eject the drive yet...
I think in the last thread about ejectscript there is a better explanation of this, I requested that auto eject function in the past, and somebody convinced me on the contrary...
If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report