Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #15005

Re: Space in 'My Documents' directory not fixed by quoting or \ escaping

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: Space in 'My Documents' directory not fixed by quoting or \ escaping
Date 2012-06-02 09:31 -0700
Organization albasani.net
Message-ID <jqdf5i$9qr$1@news.albasani.net> (permalink)
References (3 earlier) <jq2l4h$2kl$2@news.albasani.net> <23u9s7tr13usskfhim78anlj5g8pe3q9l1@4ax.com> <899d499e-c1ad-4863-b941-575aaaac1c4b@googlegroups.com> <p5has759jpj1tpfhpm2ibba88fe4kdiria@4ax.com> <jq3kph$cca$1@dont-email.me>

Show all headers | View raw


bilsch wrote:
> Gene Wirchenko wrote:
>> Lew wrote:
>>
>>> Gene Wirchenko wrote:
>>>> Lew wrote:
>>>>> Gene Wirchenko wrote:
>>>>>> then hit tab. Windows will do the rest, even adding appropriate quotes
>>>>>> where
>>>>>> necessary. Note that you must use the Windows \ path separator for this
>>>>>> to work.
>>>>>
>>>>> "/" is a Windows path *element* separator. ";" is the path separator in
>>>>> Windows.
>>>>>
>>>>> Windows is fine with forward slashes in paths. I suspect the "%1" expansion.
>>>>
>>>> But since using "/" as a path element seprator in a command line
>>>> will cause trouble, people tend to avoid using them as such.
>>>
>>> That is interesting to me. What trouble?
>>>
>>> I have used forward slashes as path element separators in Windows
>>> command-line commands. I don't recall that it caused any trouble.
>>
>> I checked with Windows XP just before posting. The CLI did not
>> like
>> dir /download
>> and no wonder since "/" is used in many command-line programs for
>> indicating parameters. Windows 7 behaves the same way. (I just
>> checked.)
>>
>> It is easier to just use backslashes and not have to worry if
>> slash is acceptable in the current context. I prefer just typing and
>> not having to think about typing.
>>
>>> I'm always learning from this forum.
>>
>> So do I.
>>
>> Sincerely,
>>
>> Gene Wirchenko
>
> Forward slash works

That settles it, then.

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Space in 'My Documents' directory not fixed by quoting or \ escaping bilsch <bilsch01@gmail.com> - 2012-05-29 05:16 -0700
  Re: Space in 'My Documents' directory not fixed by quoting or \ escaping Silvio Bierman <silvio@moc.com> - 2012-05-29 14:32 +0200
    Re: Space in 'My Documents' directory not fixed by quoting or \ escaping Nigel Wade <nmw@ion.le.ac.uk> - 2012-05-29 13:58 +0100
      Re: Space in 'My Documents' directory not fixed by quoting or \ escaping Lew <noone@lewscanon.com> - 2012-05-29 07:06 -0700
        Re: Space in 'My Documents' directory not fixed by quoting or \ escaping Gene Wirchenko <genew@ocis.net> - 2012-05-29 09:27 -0700
          Re: Space in 'My Documents' directory not fixed by quoting or \ escaping Lew <lewbloch@gmail.com> - 2012-05-29 14:07 -0700
            Re: Space in 'My Documents' directory not fixed by quoting or \ escaping glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-05-29 21:43 +0000
              Re: Space in 'My Documents' directory not fixed by quoting or \ escaping Jim Janney <jjanney@shell.xmission.com> - 2012-05-29 16:37 -0600
            Re: Space in 'My Documents' directory not fixed by quoting or \ escaping Gene Wirchenko <genew@ocis.net> - 2012-05-29 14:55 -0700
              Re: Space in 'My Documents' directory not fixed by quoting or \ escaping bilsch <bilsch01@gmail.com> - 2012-05-29 16:06 -0700
                Re: Space in 'My Documents' directory not fixed by quoting or \ escaping Lew <noone@lewscanon.com> - 2012-06-02 09:31 -0700
                Re: Space in 'My Documents' directory not fixed by quoting or \ escaping Gene Wirchenko <genew@ocis.net> - 2012-06-03 19:23 -0700
        Re: Space in 'My Documents' directory not fixed by quoting or \ escaping bilsch <bilsch01@gmail.com> - 2012-05-29 12:55 -0700
        Re: Space in 'My Documents' directory not fixed by quoting or \ escaping Nigel Wade <nmw@ion.le.ac.uk> - 2012-05-30 10:30 +0100
      Re: Space in 'My Documents' directory not fixed by quoting or \ escaping bilsch <bilsch01@gmail.com> - 2012-05-29 12:54 -0700
    Re: Space in 'My Documents' directory not fixed by quoting or \ escaping bilsch <bilsch01@gmail.com> - 2012-05-29 12:50 -0700
  Re: Space in 'My Documents' directory not fixed by quoting or \ escaping "Mike Schilling" <mscottschilling@hotmail.com> - 2012-05-29 07:31 -0700
    Re: Space in 'My Documents' directory not fixed by quoting or \ escaping bilsch <bilsch01@gmail.com> - 2012-05-29 12:59 -0700

csiph-web