This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[8.52a] Errors with opening long paths

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC8.5x bug reports (English) Printable version
View previous topic :: View next topic  
Author Message
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7861
Location: Russian Federation

PostPosted: Sat Oct 24, 2015 5:56 am    Post subject: [8.52a] Errors with opening long paths Reply with quote

When I try using cd "long path" command from TC command line, TC only opens it partially (up to 259 characters) instead of jumping to desired file.

Pasting long path to editable path bar also doesn't work.

Moreover, when I run TOTALCMD.exe /o /L="long path", TC simply crashes.

Tested path length is 515 characters.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34301
Location: Switzerland

PostPosted: Mon Oct 26, 2015 4:42 am    Post subject: Reply with quote

Sorry, this isn't supported, and there are currently no plans to support it. I will check why it crashes, though.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7861
Location: Russian Federation

PostPosted: Mon Oct 26, 2015 5:10 am    Post subject: Reply with quote

Ok, thank you for commenting it.
I don't use such long paths actually and noticed it by accident.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34301
Location: Switzerland

PostPosted: Thu Oct 29, 2015 5:09 am    Post subject: Reply with quote

It was a bug in Delphi's system.pas unit (ParamCount/ParamStr). I have fixed it. By fixing it, such long names will work also in TC 32-bit. They already worked in TC 64-bit.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7861
Location: Russian Federation

PostPosted: Thu Oct 29, 2015 7:02 am    Post subject: Reply with quote

Nice that you've fixed it!
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7861
Location: Russian Federation

PostPosted: Sun Jun 12, 2016 4:43 am    Post subject: Reply with quote

Still doesn't work in TC 9.0b1 x86.
To be exact, cd X:\long\long\long\path\to\dir works in both TC 8.52a and 9.0b1, but cd X:\long\long\long\path\to\dir\file.txt (i.e. jumping to file and not to dir) doesn't work in both.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34301
Location: Switzerland

PostPosted: Sun Jun 12, 2016 9:49 am    Post subject: Reply with quote

I only fixed the former. Can you confirm that?
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7861
Location: Russian Federation

PostPosted: Sun Jun 12, 2016 10:08 am    Post subject: Reply with quote

Jumping to dir with long path works in both 9.0b1 and 8.52a.
Jumping to file with long path doesn't work in both.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC8.5x bug reports (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group