Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #2468
| From | Regis d'Aubarede <regis.aubarede@gmail.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Windows directories not recognized by ruby? |
| Date | 2011-04-07 10:47 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <b92734a5072cb2e61434fddfb911d4a9@ruby-forum.com> (permalink) |
| References | <043fe95b0b6678577d4c637390b94bc2@ruby-forum.com> <BANLkTi=23=Eh64vNz9qgs60Odrjvi50JcQ@mail.gmail.com> |
> Windows NT *at least* since Vista, but probably XP already, and maybe > even the original NT 3.51, support the forward slash in the command > line. ForwardSlash works since MSDOS ! From wikipedia "Backslash" : "The Windows API can accept either the backslash or slash to separate directory and file components of a path, but the Microsoft convention is to use a backslash, and APIs that return paths put backslash in.[7] MS-DOS 2.0 copied the hierarchical file system from Unix and thus used the forward slash, but (possibly on the insistence of IBM) added the backslash to allow paths to be typed into the command shell while retaining compatibility with MS-DOS 1.0 and CP/M where the slash was the command-line option indicator (i.e. as in typing "dir/w" to give the "wide" option to the "dir" command).[8] Although the command shell was the only part of MS-DOS that required this, the use of backslash in filenames was propagated to most other parts of the user interface" -- Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Windows directories not recognized by ruby? "Kalman H." <kalmanh@gmail.com> - 2011-04-07 09:03 -0500
Re: Windows directories not recognized by ruby? Nikolai Weibull <now@bitwi.se> - 2011-04-07 09:23 -0500
Re: Windows directories not recognized by ruby? paul h <paul@hollyer.me.uk> - 2011-04-07 07:28 -0700
Re: Windows directories not recognized by ruby? Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-07 09:28 -0500
Re: Windows directories not recognized by ruby? Regis d'Aubarede <regis.aubarede@gmail.com> - 2011-04-07 10:47 -0500
Re: Windows directories not recognized by ruby? koulikoff <koulikoff@gmail.com> - 2011-04-07 11:10 -0700
csiph-web