[REQ] Unmount flash disk
Moderators: white, Hacker, petermad, Stefan2
[REQ] Unmount flash disk
It would be great to have following feature:
When on flash disk, let's have an unmount button next to favourites / last used folder. With hotkey of course. It should change the drive to any fixed and than unmount the usb flash disk.
I'd love to have this in TC. It's not very straight to click in the tray, switch to TC and change the drive (since I've forgot that I'm still "in" the flashdisk in total commander's panel) and again, tray - unmount, ...)
Just a tip...
Greetings,
Aleq
When on flash disk, let's have an unmount button next to favourites / last used folder. With hotkey of course. It should change the drive to any fixed and than unmount the usb flash disk.
I'd love to have this in TC. It's not very straight to click in the tray, switch to TC and change the drive (since I've forgot that I'm still "in" the flashdisk in total commander's panel) and again, tray - unmount, ...)
Just a tip...
Greetings,
Aleq
2Aleg
Make a shortcut with: and try it.
Make a shortcut with:
Code: Select all
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
I can read English, but... I write like Tarzan. (sorry)
- Vochomurka
- Power Member
- Posts: 814
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
I use the PowerPro script for this purpose:
Code: Select all
trayicon.leftdouble("c=SystemTray_Main")
wait.for(1500, activewindow("Unplug or Eject Hardware"))
local Han = win.handle("Unplug or Eject Hardware")
win.setfocus(Han)
*keys {tab 2}{enter}
wait.for(1500, activewindow("Stop a Hardware Device"))
*keys {enter}
wait.for(1500, activewindow("Safe to Remove Hardware"))
wait 5
*keys {enter}{esc}
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
For Windows 2000 or XP:
ftp://ftp.heise.de/pub/ct/listings/0316-208.zip
ftp://ftp.heise.de/pub/ct/listings/0316-208.zip
Unlikely.
Unmounting the drive itself is at best half of the work which needs to done when deactivating a USB stick or a USB flash disk.
The device itself needs to be deactivated as well.
I guess hotplug.dll does all the required steps. Simply unmounting the drive using "fsutil volume dismount <drv:>" is not enough. however.
Karl
Unmounting the drive itself is at best half of the work which needs to done when deactivating a USB stick or a USB flash disk.
The device itself needs to be deactivated as well.
I guess hotplug.dll does all the required steps. Simply unmounting the drive using "fsutil volume dismount <drv:>" is not enough. however.
Karl
- Wilhelm M.
- Power Member
- Posts: 1000
- Joined: 2003-06-05, 10:45 UTC
Have a look at
http://www.nirsoft.net/utils/usb_devices_view.html .
You could create a button in TC to remove slected USB devices by calling the above NirSoft utility.
http://www.nirsoft.net/utils/usb_devices_view.html .
You could create a button in TC to remove slected USB devices by calling the above NirSoft utility.
Grüße/Regards,
Wilhelm
Wilhelm