- cm_OpenNetwork in the active panel.
- A file or folder is selected in the target panel.
Code: Select all
TOTALCMD#BAR#DATA cd %T%R1 wciconex.dll,119
Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_PATH%\Scripts\Test.js %S1:~,0 wcmicon2.dll,44 <blabla>
Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_EXE% /O /S %T%R1 wciconex.dll,119 :
Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_EXE% /O /S %T%R1 wciconex.dll,119 .
Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_EXE% /O /S %T%R1 wciconex.dll,119 <>
Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_EXE% /O /S %T%R1 wciconex.dll,119 /
Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_EXE% /O /S %T%R1 wciconex.dll,119 \
Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_EXE% /O /S %T%R1 wciconex.dll,119
=Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_PATH%\Scripts\Test.js %S1:~,0 wcmicon2.dll,44
Code: Select all
--------------------------- Total Commander --------------------------- File not found! ...
cm_OpenNetwork: executable file without start path (except for '\') + %S/%R = File not found!
Moderators: white, Hacker, petermad, Stefan2
cm_OpenNetwork: executable file without start path (except for '\') + %S/%R = File not found!
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 48125
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: cm_OpenNetwork: executable file without start path (except for '\') + %S/%R = File not found!
Sorry, can you explain what you are trying to achieve?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: cm_OpenNetwork: executable file without start path (except for '\') + %S/%R = File not found!
Obviously, I want it to work the same way in case of pressing buttons 3.b. as it does in case of buttons 3.a., i.e. without errors and warnings.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 48125
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: cm_OpenNetwork: executable file without start path (except for '\') + %S/%R = File not found!
The problem is that the function to launch programs (ShellExecuteEx) does not seem to like the start paths you provide. I don't think that there is anything I can do about that because it's a Windows function.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: cm_OpenNetwork: executable file without start path (except for '\') + %S/%R = File not found!
I don't see a relation with the function for %S and %R only. Why is there no such problem with the rest of the parameters?
- Why is there no problems with the same path with %T%M or %C2, but there is with %T%R1?
- Why is there no problem with an empty parameters field, but there is with %S1:~,0, which returns an empty string?
- If the cursor is set to %COMMANDER_EXE% in target panel, then why is there a problem when pressing such a button
, but not when pressing such a button? >
Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_EXE% /O /S %T%R1 wciconex.dll,119 \
Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_EXE% /O /S "%COMMANDER_EXE%" wciconex.dll,119 \
- Why is there a problem with an empty start path in cm_OpenNetwork, but not after opening any wfx plugin, e.g. \\\Registry\?
- Why is there no error when setting \\ in the "Start path:" field, but when setting \, \\\, \\\\ etc. is there?
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 48125
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: cm_OpenNetwork: executable file without start path (except for '\') + %S/%R = File not found!
Why does it matter? The path parameter is invalid.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: cm_OpenNetwork: executable file without start path (except for '\') + %S/%R = File not found!
Could you first answer my questions point by point? This is important to me, otherwise our conversation doesn't look productive. Thanks.
This is important primarily because some of my buttons and user commands with an empty "Start path:" field don't work properly from cm_OpenNetwork, which I open quite often.
This is important primarily because some of my buttons and user commands with an empty "Start path:" field don't work properly from cm_OpenNetwork, which I open quite often.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 48125
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: cm_OpenNetwork: executable file without start path (except for '\') + %S/%R = File not found!
Sorry, i do not have the source code of Microsoft's ShellExecuteEx function, so I cannot say why it fails with some start paths but not with others.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: cm_OpenNetwork: executable file without start path (except for '\') + %S/%R = File not found!
That's how you can answer only points 4 and 5, but not 1, 2, 3, where the problem is clearly related to the implementation of TC parameters.
That's why I asked you to answer point by point, because your answers don't explain the logic of behavior when the factors coincide.
That's why I asked you to answer point by point, because your answers don't explain the logic of behavior when the factors coincide.
Overquoting is evil! 👎