[Tip] PFA in both x32 and x64 environment

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

[Tip] PFA in both x32 and x64 environment

Post by binocular222 »

If you have both x32 and x64 version of a program, use PFA like this:

Code: Select all

"Winrar" rar;zip>?:\7Utilities\WinRAR x%osbitness%\WinRAR.exe
Will resolved to either:
"Winrar" rar;zip>?:\7Utilities\WinRAR x32\WinRAR.exe
"Winrar" rar;zip>?:\7Utilities\WinRAR x64\WinRAR.exe

This tip should appear in PFA's Tip window.

P.S: If you need command-line parameter, use like this:
"Winrar" rar;zip>"?:\7Utilities\WinRAR x%osbitness%\WinRAR.exe" -a

another more advanced command-line:
"Winrar" rar;zip>"?:\7Utilities\WinRAR x%osbitness%\WinRAR.exe" x "<pfaitem>" * "<curbase>\"
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: [Tip] PFA in both x32 and x64 environment

Post by bdeshi »

Clever! 8)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [Tip] PFA in both x32 and x64 environment

Post by admin »

Indeed! :cup:

Post Reply