As nocr said, turning off the computer will most likely eject all media, but they're safe to remove no matter what, because the machine is not active, therefore no processes are running. However, when you logoff the machine, your current processes in your profile will be terminated, even the ones running from the drive, but your device may still be in ready function by the computer. I'm not too sure.
_____________________________
Wow, that signature totally got old.
i was just wondering because i have been creating a script in auto hotkey and can't seem to find a method that ejects the drive. i have created a script that when you press escape it automatically asks if you want to shutdown, logoff, or do nothing,and it automatically exits PAM. wehm you log off you don't have the time to eject, thats why i was wondering.
Well I'm sure someone more knowledgeable than me can answer that for you.
And while we're on this venereal topic, do you, or does anyone else know what Windows executes to shutdown the computer? I found "shutdown.exe" under WINDOWS I think, or it may have been system32, but when I click it nothing happened, is this the right executable? Or is their command line parameters to go with it?
_____________________________
Wow, that signature totally got old.
I may be wrong, but if you turn off your computer, all removable drives are ejected.
════════
PAM > U3
Please Make TiLP Portable
As nocr said, turning off the computer will most likely eject all media, but they're safe to remove no matter what, because the machine is not active, therefore no processes are running. However, when you logoff the machine, your current processes in your profile will be terminated, even the ones running from the drive, but your device may still be in ready function by the computer. I'm not too sure.
_____________________________
Wow, that signature totally got old.
i was just wondering because i have been creating a script in auto hotkey and can't seem to find a method that ejects the drive. i have created a script that when you press escape it automatically asks if you want to shutdown, logoff, or do nothing,and it automatically exits PAM. wehm you log off you don't have the time to eject, thats why i was wondering.
Well I'm sure someone more knowledgeable than me can answer that for you.
And while we're on this venereal topic, do you, or does anyone else know what Windows executes to shutdown the computer? I found "shutdown.exe" under WINDOWS I think, or it may have been system32, but when I click it nothing happened, is this the right executable? Or is their command line parameters to go with it?
_____________________________
Wow, that signature totally got old.
this and this.
Hope it helps.
“Science is the belief in the ignorance of the experts” - Richard P. Feynman
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
...and therefore won't do diddly if you click on it except flash a black window on the desktop...you have to run it in a command prompt window.
Also, most all MS command line apps give you help with the /? switch.
start -> run -> cmd.exe -> [enter]
c:\windows\shutdown.exe /?
Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!
And thank you too Simeon.
_____________________________
Wow, that signature totally got old.
boot up cmd and type "shutdown"(without the quotes). it gives you all the options on how to shutdown your computer.
it worked for me. you can find a discussion here https://portableapps.com/node/639 they have other suggestions, but i've not tried them.