03-20-2012, 05:26 PM
Function RunSystem64BitApp
Menu RunSystem64BitApp in menu
;/
function $file_ [$par] [$verb] [$dir_] [flags]
;Runs a program or other file in system32 folder on 64-bit Windows.
;The same as <help>run</help>, but temporarily disables redirection to the 32-bit folder SysWOW64.
;On 32-bit Windows also works.
;Everything is same as with run(), except:
;;;1. The program will run with same integrity level (Admin/uiAccess/User) as current process (QM or exe). Ignores flags 0x10000 and 0x20000.
;;;2. Does not have window_ and hwnd parameters.
#compile "____Wow64DisableWow64FsRedirection"
__Wow64DisableWow64FsRedirection x.DisableRedirection
run file_ par verb dir_ flags|0x30000
err end _errorMenu RunSystem64BitApp in menu
msconfig :RunSystem64BitApp "$system$\msconfig.exe" * $my qm$\msconfig_exe.ico
;QM also cannot extract icons from files in the 64-bit system folder.
;In QM Icons dialog you can capture icon image of the program that is displayed in Windows Explorer. Drag the small icon preview rectangle in the icon editor. Save as icon file and use it in menu.Quote:Btw it is not possible to add comments behind that lineAdd comments before *.
