in root folder type in: cd /<folder name> It will change all right, but it shows c:\/<foldername> in current Current directory. While it seems everything is OK, it causes trouble e.g. you can't open a file after you search for it and click "View" in the find dialog box.
to reproduce problem:
- go to root of a drive (e.g. C:\)
- type in cd /windows in command line
- (notice the c:\/windows in the current directory above file list)
- type cd /system32 in the command line
- (notice the c:\/windows\/system32 in the current directory)
- press Alt-F7 (find file)
- type in any file name that exist in the folder, e.g. setup.bmp
- in Search results, select a file and click View - nothing happens, same if you click Go to file
[BUG] changing folder using CD /<folder name>
Moderators: white, Hacker, petermad, Stefan2
@zfiser: sorry aber the bug is in you?
why use linux syntax on a windows system ?
cd /<somewhere> = *unix
cd \<somewhereelse> = WinOS
same as Sheepdog here
first cd /<linux> works, second doenst do anything
but I still cant edit, view all the files
OS: XP Pro, SP2, German with TC6.53
why use linux syntax on a windows system ?
cd /<somewhere> = *unix
cd \<somewhereelse> = WinOS
same as Sheepdog here
first cd /<linux> works, second doenst do anything
but I still cant edit, view all the files
OS: XP Pro, SP2, German with TC6.53
Last edited by Sir_SiLvA on 2005-11-15, 17:48 UTC, edited 1 time in total.
Hoecker sie sind raus!
Re: [BUG] changing folder using CD /<folder name>
Here I get "C:\/Windows/*.*"zfiser wrote:to reproduce problem:
- go to root of a drive (e.g. C:\)
- type in cd /windows in command line
- (notice the c:\/windows in the current directory above file list)
]
- type cd /system32 in the command line
Here happens nothing. XP simply refuses to switch to system32.
Enter on the system32 or even cd system32 works fine.
Search works here fine and I can dispay and access all files - although I cannot switch to the "c:\/windows\/system32/".
The trouble is that the "/" is in the windows filesystem a 'not alowed' character. Since it is the delimiter under Unix filesystems and for FTP M$ decided to accept the "/" as delimiter under XP too. Former versions did not support the "/" as delimiter (don't know about W2000).
So it is a bit difficoult to handle the "/". You can test it by openening a DOS window and trying to "cd /anypath". It will work fine.
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
I can confirm the behaviour that sheepdog experiences, but not zfiser's behaviour.
Win XP Home SP2, TC 6.53
Win XP Home SP2, TC 6.53
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC 7.0 will support forward slashes in the cd command. It seems that Windows NT/2000/XP supports them, probably because of the Posix compatibility mode built into these systems, while Windows 9x doesn't.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com