Code: Select all
v26.60.0101 - 2024-11-02 17:39
+ SC open: Now you can open an item in an elevated process (= run as administrator).
Syntax: open item, [switches=c]
item: Path to an application to start or a document to open.
Defaults to the current list item.
switches:
c: [Default] Use XYplorer's Custom File Associations to determine the opening application.
w: Use the Windows associated application as opening application.
e: Spawn the opening application in an elevated processes (= run as administrator).
Remarks:
- Obviously it's meaningless to combine switches c and w (if you do, w will win).
Examples:
open "E:\Test\BAT\test.bat", e; //use any existing CFA association, elevated process
open "E:\Test\BAT\test.bat", we; //use Windows association, elevated process
(1) Installer Package, (2) No-Install Package (for manual unpacking).
XYplorer Beta Club