Use of alternate path separator

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
koahnig
Junior Member
Junior Member
Posts: 6
Joined: 2015-02-18, 11:32 UTC

Use of alternate path separator

Post by *koahnig »

Hi there,
I am not sure if I should file a bug report. Also I am struggling in getting a reasonable list of bug reports for checking for this problem.

Anyway, I am using the button bar and I have created a new icon for simply changing the current drive and folder.

The command is: cd d:/OwnCloud.
This command is working in most cases fine. I can change to subfolders and do the typically navigational stuff.

Some weird behaviour starts when moving one folder back. The window will show directly the root folder. Also an error message appears when using the sync folder feature.

The origin is the use of the forward slash as separator.
It will show d:\/OwnCloud/\ as the new folder but probably should have been converted to d:\OwnCloud\

This is with TotalCommander 8.52a 64 bit on Windows 10.

The command has been used already under Win 7 64 bit, but I am not sure if there has been the same problem.

I have changed to standard folder separator for windows \ and all is working fine for me.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7022
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

This is not a TC bug !
The /OwnCloud is of course interpreted as command line switch which makes no sense in this context.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Hi,

and what is the actual problem now?

Just use the standard folder separator for windows \ and all is working fine :wink:



On my test I nowhere see such "d:\/OwnCloud/\" behavior. ( Tested with CD e:/temp)
Locks like some escaping...
WHERE did you saw that string?



.
koahnig
Junior Member
Junior Member
Posts: 6
Joined: 2015-02-18, 11:32 UTC

Post by *koahnig »

The command "cd d:/OwnCloud" is used within button bar icon.

The problem is with 8.52a and 8.52.
I have just tried on my laptop with TC 8.52. It does change to the folder as well, but the same problems.
Both machines are running Win10 64 bit. Both TC versions are also 64 bit.

The string appears above the pane window and below the tabs where typically the current complete folder path is shown. For 8.52 the end of the path does not have the combination of forward and backward slashes.

Thanks for suggestion, but I had solved it already as written in initial post. I merely thought to report it. Personally I do consider it as a minor bug.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Standard folder name separator for Windows is backslash so many programs may not work correctly if you use forward slashes instead.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, please use backslashes in TC for local paths. While the forward slash may work in many places, TC expects the backslash.
Author of Total Commander
https://www.ghisler.com
Post Reply