RE: Re: SixPack mods for Linux users
"\"Fish\" \(David B. Trout\)" <fish-6N/[email protected]> Sun, 17 Oct 2010 07:23:25 -0700
| Newsgroups | gmane.comp.emulators.hercules390.vm |
|---|---|
| Message-ID | <004201cb6e06$df884520$9e98cf60$@org> |
Dave McGuire wrote: [...] > Every time I accidentally type '/' (the two or three > times a year that I have to do something on a Windows box ;)) > it doesn't work, at least in a "cd" command at a prompt. What O/S? Because according to Paul (paoloG) on Win2K forward slashes apparently don't work at the prompt (which is quite surprising to me but not altogether unbelievable). It DOES work on WinXP though. That I do know. > Do you mean in fopen() calls (or > whatever the Windows API equivalent is)? I mean *everywhere*. All programming interfaces (APIs) and the cmd prompt too. What I suspect may be confusing people is the fact that "/dir" is NOT a valid path in Windows by virtue of the fact that, because it doesn't start with a period, it is thus interpreted as an absolute path instead of a relative path, and "/" is an invalid root drive file system specification in Windows. In Windows absolute root paths must start with a drive-letter-colon (e.g. "C:") sequence. But "./dir" IS a valid path. A valid *relative* path as it turns out. The point is Windows accepts EITHER forward *or* backward slashes as path separators, but the path you specify MUST be a validly formed path. Otherwise you get an error. -- "Fish" (David B. Trout) [email protected] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/H390-VM/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/H390-VM/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/