Does Xyplorer have an eject command?
-
laugust
- Posts: 29
- Joined: 12 Feb 2011 09:06
Does Xyplorer have an eject command?
I have a tab locked at the root level of my computer - showing all drives. I typically click on one of the flash drives in the list and eject it by right-clicking on it and selecting "Eject" from the context menu that pops up. Does XYplorer have a keyboard shortcut that can do this? If not, does someone have a script that can be triggered by a keyboard shortcut and which ejects the selected disk? TIA for any help.
-
XY fan
- Posts: 246
- Joined: 24 Mar 2022 10:58
- Location: Windows 11 225% scaling on 3840 x 2400 screen
Re: Does Xyplorer have an eject command?
I use USB Safely Remove for that type of thing. Does what you want (I think) and much more.
-
highend
- Posts: 14924
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Does Xyplorer have an eject command?
https://www.uwe-sieber.de/drivetools.html
Code: Select all
$rd = "{path where you've copied it}\RemoveDrive_x64.exe";
end (exists($rd) != 1), quote($rd) . " not found, aborted!";
$path = <curpath>;
end (regexmatches($path, "^[a-z]:.+")), "No drive root active, aborted!";
goto "Computer";
run lax("$rd" $path -b);
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club