Add(MainForm,1621074,140,98)
{
link(onCreate,13023946:doConsoleExec,[])
}
Add(WinExec,13023946,196,98)
{
FileName="powershell"
Param="-nologo -noprofile -command "& {Get-Item -Path C:\WINDOWS\explorer.exe | select *}""
Mode=0
Point(doConsoleExec)
Point(onConsoleResult)
link(onConsoleResult,10887550:doCharset,[])
}
Add(Memo,11206683,308,112)
{
Left=550
Top=160
Align=5
Font=[Lucida Console,8,0,0,204]
ScrollBars=3
}
Add(Charset,10887550,252,112)
{
link(onCharset,11206683:doAdd,[])
}
А если любого другого файла -
Add(MainForm,2953706,84,84)
{
link(onCreate,8402110:doExecute,[])
}
Add(FormatStr,7244403,189,98)
{
Mask="Get-Item -Path '%1' | select * "
link(onFString,1674363:doConsoleExec,[])
}
Add(WinExec,1674363,238,84)
{
FileName="powershell"
Mode=0
Point(doConsoleExec)
Point(onConsoleResult)
link(onConsoleResult,10887550:doCharset,[])
}
Add(Memo,11206683,343,98)
{
Left=550
Top=160
Align=5
Font=[Lucida Console,8,0,0,204]
ScrollBars=3
}
Add(Charset,10887550,287,98)
{
link(onCharset,11206683:doAdd,[])
}
Add(ODialog,8402110,140,98)
{
link(onExecute,7244403:doString,[])
}
Проверено на Windows 10/64