Problems with external editor and short file names

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
jasoncof
Junior Member
Junior Member
Posts: 2
Joined: 2006-05-18, 15:46 UTC

Problems with external editor and short file names

Post by *jasoncof »

Greetings,

I use jEdit as my editor; it is a great editor written in java. Usually I use this command string when other applications need to start jEdit:

Code: Select all

"C:\Program Files\Java\j2re1.4.2_03\bin\javaw.exe" -jar "C:\Program Files\jEdit\jedit.jar" -reuseview
When I put this in the Editor field of the Configuration->Edit/View options menu, Total Commander will start jEdit as expected but it uses the short file name instead of the long one. So, for example, if I use F4 to edit version.html the editor looks for a file called VERSIO~2.HTM in the same path. Any idea how I can keep long file names?

Thanks in advance!
User avatar
Hacker
Moderator
Moderator
Posts: 13081
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Try appending

Code: Select all

%1
or

Code: Select all

"%1"
behind that long command.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
jasoncof
Junior Member
Junior Member
Posts: 2
Joined: 2006-05-18, 15:46 UTC

Post by *jasoncof »

That worked. Thank you!
Post Reply