You should either add putty.exe to VP and execute it, or add Exec.exe or Exec64.exe (from VP installation folder) and start physical applications through it, e.g (if Exec.exe is added as \Bin\Exec.exe):
You should just add Exec.exe from VP physical installation dir to \Bin VP dir via regular copying, it is not a script, it is a link to physical executable.
MVV wrote:You should just add Exec.exe from VP physical installation dir to \Bin VP dir via regular copying, it is not a script, it is a link to physical executable.
I don't understand sorry, why did you made all this so complicated?
I don't understand sorry, why did you made all this so complicated?
You can only execute files within virtual file system using <exec. So, if you want to start some program that is not added to VP, you can only do it via programs that added to VP. Exec.exe is a special tool that only executes command line, so it allows starting any external programs from VP. Just add it to VP once and use - is it so complicated?
and when i double click on created "virtual" file nothing happen
Do you created both items in the same dir? If you start something via <exec w/o path, that something have to be in same dir with script...
Can I somehow debug this? If I execute this "Exec.exe putty.exe" under the VP folder it does work perfectly, but with script no luck.
A) copy Exec.exe from the installation forlder of VirtualPanel into the Virtual Panel as \Exec.exe
B) add your script like : <add >Putty { <exec /Exec.exe putty.exe<<WCMICON2.DLL,53 }
You can also copy all your tools into a tools folder and execute them directly.
It would be good to use exec.exe directly from VP installation folder, but this is also a good solution to copy it in Bin folder for an example inside Virtual panel. Thank you all for the great feedback.
Exec.exe allows you to run any executable on the path.
What i do is to copy from real path inside a virtual folder called tools some pgms. I reuse in VP scripts or launch directly from this tools folder.
I have pspad, askparam, exec, tfind, tcbl, cmd, popershell ......
To reuse it in a VP script <exec /Tools/<MyTools> Params....
Exec.exe allows you to run any executable on the path.
What i do is to copy from real path inside a virtual folder called tools some pgms. I reuse in VP scripts or launch directly from this tools folder.
I have pspad, askparam, exec, tfind, tcbl, cmd, popershell ......
To reuse it in a VP script <exec /Tools/<MyTools> Params....
I understand but if I use it directly (without copy of Exec.exe in Virtual panel) it doesn't work, I tried this:
Of course I copied Exec.exe and putty.exe in Tools folder inside root of VP folder. The thing is that you cannot use it outside of Virtual panel folder i.e. VP folder under TotalCommander/plugins/wfx/VirtualPanel location.