today I'm validating XYPlorer's options for integration of my powershell/"DOS" script pool. After playing with some documented approaches (UDC, user buttons) I'm unsure wether I might already have taken the "getting lost" route...
Here's my entry-level goal:
I want to run a simple powershell script/cmdlet without passing any parameter (e.g. <item>) from XYPlorer to it - just a do-on-click action.
Following call string has been validated to work (using a bat/cmd-file):
Code: Select all
"$anyPath\Console2\Console.exe" -r "Assert-File $anyPath\asserted.file > $anyPath\test_ps.txt"q1: what general approaches exist to put this action?
q2: does picking the right/best option depend on the need to pass XYPlorer items/variables? Other way round: what's the best option to choose without having to pass any params?
q3: with UDCs the only "category" working here is Open with?
Thanks a lot for your help.
Cheers,
Filehero
XYplorer Beta Club