Editor for F4
Moderators: Hacker, petermad, Stefan2, white
Editor for F4
Hi,
I use PSPad as my default editor for F4.
I use portable Total Commander 8.0 (2012-05-23) and also portable PSPad editor.
I set this to Total commander:
Configuration -> Operation -> Edit/View ->Editor:
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe"
It's working most of time, but not always ...
E.g.: when I tried to edit files in "c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\" folder I had problems.
I tried to remove quotes, but that didnt help:
%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe
Pleasy try to fix it.
have a nice day
Roman
I use PSPad as my default editor for F4.
I use portable Total Commander 8.0 (2012-05-23) and also portable PSPad editor.
I set this to Total commander:
Configuration -> Operation -> Edit/View ->Editor:
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe"
It's working most of time, but not always ...
E.g.: when I tried to edit files in "c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\" folder I had problems.
I tried to remove quotes, but that didnt help:
%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe
Pleasy try to fix it.
have a nice day
Roman
2klesako
Don't forget, that Win64 makes diffrent parhs for x32 and x64 program files dir for x32 and x64 soft.
If you want to use TC and PSPad editor this way - you'd better use %COMMANDER_DRIVE% path instead of %COMMANDER_PATH% - this won't make troubles.
Now, as I see, you have to change editor's path to:
%COMMANDER_DRIVE%\Program Files\PSPadEditor\PSPad.exe
or
%COMMANDER_DRIVE%\Program Files (x86)\PSPadEditor\PSPad.exe
depending on your situation.
p.s.
Never use "%COMMANDER_PATH%\..\" combinations for TC in program files dir on Win64!!!
Don't forget, that Win64 makes diffrent parhs for x32 and x64 program files dir for x32 and x64 soft.
If you want to use TC and PSPad editor this way - you'd better use %COMMANDER_DRIVE% path instead of %COMMANDER_PATH% - this won't make troubles.
Now, as I see, you have to change editor's path to:
%COMMANDER_DRIVE%\Program Files\PSPadEditor\PSPad.exe
or
%COMMANDER_DRIVE%\Program Files (x86)\PSPadEditor\PSPad.exe
depending on your situation.
p.s.
Never use "%COMMANDER_PATH%\..\" combinations for TC in program files dir on Win64!!!
Ukrainian Total Commander Translator. Feedback and discuss.
I cannot post here, becasuse this:
Code: Select all
In order to try to prevent spammers, we do not allow our users to post URLs in any form until they have posted at least 1 legitimate posts and have been with us for more than 1 days. We appreciate your understanding in this matter in order to help us eliminate spam from this forum. If you have somehow gotten this message even though you meet both of the criteria, please let us know ASAP.
Thanks!
2klesako
If you try to save files in "c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\" you have to have started TC in elevated mode (as administrator), otherwise you cannot change files in "c:\Program Files (x86)\"
Well, you don't state what kind of problems you have. Can you not open files, can you not save files, or will the editor not open at all. Do you get any error messages, and if so what are they and are they from TC or PSPad."c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\" folder I had problems.
If you try to save files in "c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\" you have to have started TC in elevated mode (as administrator), otherwise you cannot change files in "c:\Program Files (x86)\"
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
2MaxX
I don't think that klesako has neither his TC nor his PSPad in the program files dir - he explicitly says that he uses portable TC and PSPad.Never use "%COMMANDER_PATH%\..\" combinations for TC in program files dir on Win64!
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
I cannot use %COMMANDER_DRIVE%, because my TC is shared using Dropbox. My dropbox folder is located in different folders on different computers.
At home i have Windows 7 x86, at work Win 2008 R2 x64
I tried to do small test
1. Run command line
2. Write:
3. File TfsBuild.exe.config is opened in PSPad - without problems
4. Result: see url: http://goo.gl/xhgaz
Other test:
1. Run TC
2. Browse to
3. Select TfsBuild.exe.config and click F4
4. Many empty files were open
5. Result: see url: http://goo.gl/AfLQw
Sorry, i cant post images here. [img] tags dont work for imageshack urls. User provided URLs
For sure this is not problem of the editor, because it worked from command promt.
At home i have Windows 7 x86, at work Win 2008 R2 x64
I tried to do small test
1. Run command line
Code: Select all
cmd.exe
Code: Select all
d:\Dropbox\PortableApps\PSPadEditor\PSPad.exe c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\TfsBuild.exe.config
4. Result: see url: http://goo.gl/xhgaz
Other test:
1. Run TC
Code: Select all
d:\Dropbox\PortableApps\TotalCommander_8.0\TOTALCMD.EXE
Code: Select all
c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\
4. Many empty files were open
5. Result: see url: http://goo.gl/AfLQw
Sorry, i cant post images here. [img] tags dont work for imageshack urls. User provided URLs
For sure this is not problem of the editor, because it worked from command promt.

Try this in TC's Configuration -> Operation -> Edit/View ->Editor:
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe" "%1"
or
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe" %1
or
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe %1"
or
%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe %1
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe" "%1"
or
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe" %1
or
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe %1"
or
%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe %1
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Hi,
i thought that it could help, but didnt
Look at this:
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe" "%1"
Image: http://i50.tinypic.com/2mg2t68.jpg
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe" %1
Image: http://i48.tinypic.com/2hpktwy.jpg
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe %1"
Image: http://i47.tinypic.com/2w4n2i9.jpg
%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe %1
Image: http://i45.tinypic.com/bfnipd.jpg
i thought that it could help, but didnt

Look at this:
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe" "%1"
Image: http://i50.tinypic.com/2mg2t68.jpg
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe" %1
Image: http://i48.tinypic.com/2hpktwy.jpg
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe %1"
Image: http://i47.tinypic.com/2w4n2i9.jpg
%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe %1
Image: http://i45.tinypic.com/bfnipd.jpg
klesako, use Process Explorer (or another advanced task manager) to see exact PSPad's command line that TC used to start it for all cases.
Windows requires to enclose paths containing spaces with quotes, so that one should be most correct:
Windows requires to enclose paths containing spaces with quotes, so that one should be most correct:
Code: Select all
d:\Dropbox\PortableApps\PSPadEditor\PSPad.exe "c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\TfsBuild.exe.config"
It's strange,
i found that behavior of PSPad depends of running state:
e.g.:
Case A:
1. PSPad is closed
2. Click on TfsBuild.exe.config (see previous posts) + Click F4
3. All works - OK
Case B:
1. PSPad is running (no open documents)
2. Click on TfsBuild.exe.config (see previous posts) + Click F4
3. Multiple empty documents were opened ("PSPad.exe", "Program", "Files", "Microsoft", "Visual", "Studio", "TfsBuild.exe.config")
4. FAIL
Case C:
1. PSPad is running (2 open documents)
2. Click on TfsBuild.exe.config (see previous posts) + Click F4
3. Again - multiple empty documents were opened ("PSPad.exe", "Program", "Files", "Microsoft", "Visual", "Studio", "TfsBuild.exe.config")
4. FAIL
I checked command prompt using Process explorer. Looks OK:
Currently i have this in TC settings (including quotes):
Why is there different behavior in case of running PSPad?
i found that behavior of PSPad depends of running state:
e.g.:
Case A:
1. PSPad is closed
2. Click on TfsBuild.exe.config (see previous posts) + Click F4
3. All works - OK
Case B:
1. PSPad is running (no open documents)
2. Click on TfsBuild.exe.config (see previous posts) + Click F4
3. Multiple empty documents were opened ("PSPad.exe", "Program", "Files", "Microsoft", "Visual", "Studio", "TfsBuild.exe.config")
4. FAIL
Case C:
1. PSPad is running (2 open documents)
2. Click on TfsBuild.exe.config (see previous posts) + Click F4
3. Again - multiple empty documents were opened ("PSPad.exe", "Program", "Files", "Microsoft", "Visual", "Studio", "TfsBuild.exe.config")
4. FAIL
I checked command prompt using Process explorer. Looks OK:
Code: Select all
"D:\Dropbox\PortableApps\TotalCommander_8.0\..\PSPadEditor\PSPad.exe" "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe.config"
Code: Select all
"%COMMANDER_PATH%\..\PSPadEditor\PSPad.exe"