Page 1 of 1

Does Xyplorer have an eject command?

Posted: 11 May 2025 05:26
by laugust
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.

Re: Does Xyplorer have an eject command?

Posted: 12 May 2025 02:53
by XY fan
I use USB Safely Remove for that type of thing. Does what you want (I think) and much more.

Re: Does Xyplorer have an eject command?

Posted: 12 May 2025 07:45
by highend
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);