totalcmd.exe /O /T c:/tmp opens c:\/tmp/\*.*
Moderators: Hacker, petermad, Stefan2, white
Well guys, lets keep the conversation a peaceful way 
Both sides have their truth.. Surely, the backslash is an official path separator in Windows. But in fact, Windows provides an increasing support for the forward slash in a path.
We can do (Vista/7)
C:\Windows>cd /temp
So it is worth considering to add forward slash support in TC.

Both sides have their truth.. Surely, the backslash is an official path separator in Windows. But in fact, Windows provides an increasing support for the forward slash in a path.
We can do (Vista/7)
C:\Windows>cd /temp
So it is worth considering to add forward slash support in TC.
Nice example.ibmm wrote:But in fact, Windows provides an increasing support for the forward slash in a path.
We can do (Vista/7)
C:\Windows>cd /temp
So it's an argument not to support the slash as replacement for the backslashPath (computing) wrote:Microsoft Windows: cmd.exe:
/ or \ (note: for CD command, / treated as relative path (same as .\))


Regards
Holger
So according to this MS joke we can't just to replace backslashes with forward ones...HolgerK wrote:So it's an argument not to support the slash as replacement for the backslashPath (computing) wrote:Microsoft Windows: cmd.exe:
/ or \ (note: for CD command, / treated as relative path (same as .\))![]()
But it doesn't work when I try to use forward slash instead of backslash as first path character:ibmm wrote:Hei, not worth worry indeed: forward slash is now supported in both relative and absolute paths:
c:\Program Files (x86)>cd c:/progra~1
it works
Code: Select all
C:\Program Files>cd /temp
This feature is _increasingly_ supported in Windows as I mentioned 
The command you have cited start working from Vista on. Just for info, i'm currently on Win7 64-bit, - all works fine. As for "/" as a root indicator, on XP it doesn't work. At least it didn't work for me a couple of years ago, so _for XP_ you are quite right.

The command you have cited start working from Vista on. Just for info, i'm currently on Win7 64-bit, - all works fine. As for "/" as a root indicator, on XP it doesn't work. At least it didn't work for me a couple of years ago, so _for XP_ you are quite right.
Yes nice continuation of a joke started with DOS 2.0 (Why is the DOS path character ""?)
A convention is a rule you can rely on in a given environment.
Extending the limits of such rules like "it may work in environment version 6.0 or 6.1 but not in 5.1" just leads to confusion.
In the end you will always come back to the basic rules:
Regards
Holger
A convention is a rule you can rely on in a given environment.
Extending the limits of such rules like "it may work in environment version 6.0 or 6.1 but not in 5.1" just leads to confusion.
In the end you will always come back to the basic rules:
just to avoid the "trial and error" process.Vista command line wrote:cd \Windows\System32\drivers\etc\
cd /Windows/System32/drivers/etc/
Notepad C:\Windows\System32\drivers\etc\hosts
Notepad C:/Windows/System32/drivers/etc/hosts
Notepad /Windows/System32/drivers/etc/hosts
Notepad \Windows\System32\drivers\etc\hosts
Regards
Holger
- Vochomurka
- Power Member
- Posts: 816
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
Not exactly (or unofficially supported).ghisler(Author) wrote:Indeed forward slashes aren't officially supported in TC, except for F T P.
1) Create an archive of some text files (say, a.txt and b.txt are packed to c.zip);
2) Point the cursor on c.zip;
3) Open the Quickview window (Ctrl+Q);
4) In the Quickview window title you see "c.zip/a.txt".
Note the forward slash rather than the backslash. It is neither FTP nor program key.
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
- Vochomurka
- Power Member
- Posts: 816
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
Windows 2000 Eng SP3, TC 7.5 - just checked.
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander