1) Use #241 Edit | New | New Shortcut... to create a new shortcut. For its location use %comspec% name it anything you want.
2) Open the new shortcut's shell properties (#173 File | Properties (Alt+Enter)).
3) On the Shortcut tab click Advanced... and check Run as administrator. OK out of the properties.
4) Open the shortcut (#160 File | Open Selected Item(s) (Enter)).
The opened command prompt is not elevated (try listing scheduled tasks with cmd: at).
5) Select the shortcut and run the script: open <curitem>;.
You should get the UAC dialog asking if you want to allow CMD to make changes. Yes takes you to an elevated prompt.
If you open the shortcut in WE it works correctly and you'll also notice that the shortcut's name is used for the prompt's title - unlike XY.
Various Information wrote:XYplorer: 14.10.0121 (Pro Edition - Lifetime License Pro)
Loaded in: 421 ms at 6/10/2014 8:58:33 AM
Uptime: 30 mins, 7 secs
Memory Usage: 48,440 KB, Virtual Memory Size: 26,068 KB
OS: Windows 7 Professional (Service Pack 1), 64-bit (6.1)
OS Uptime: 21 days, 4 hrs, 3 mins, 45 secs
UTC Offset: --04:00
User Role: User
Themes: Yes (Aero) RealSystem32: Yes
System Locale ID: 1033 (en-US)
Thread Locale ID: 1033 (en-US)
Default ANSI Code Page: 1252 (ANSI - Latin I)
Active Code Page: 1252 (ANSI - Latin I)
DBCS Code Page: No
XYplorer Beta Club