From: Dirk M. <dmo...@gm...> - 2000-10-31 19:48:18
|
Slava wrote: > Dirk Moebius wrote: > > One minor error: on Windows, "cd /" or "cd \" does not work. It appends "/" > > or "\" to the current path. However, "cd c:\" or "cd c:/" work. > > > > "cd \" has a special meaning on Windows. On Windows (resp. DOS), each > > process has a current drive assigned. "cd \" means: go to the root of the > > current drive. > > I will deal with this by improving the MiscUtilities.constructPath() method. Another error: "cd D:" doesn't work, whereas "cd D:\" does. ("cd D:" appends "D:" to the current path). Again, "cd X:" has a special meaning on Windows: go to the _current directory_ of the specified drive. Dirk. |