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


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

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

From bilsch <bilsch01@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Space in 'My Documents' directory not fixed by quoting or \ escaping
Date 2012-05-29 16:06 -0700
Organization A noiseless patient Spider
Message-ID <jq3kph$cca$1@dont-email.me> (permalink)
References (2 earlier) <a2jvh9FuhU1@mid.individual.net> <jq2l4h$2kl$2@news.albasani.net> <23u9s7tr13usskfhim78anlj5g8pe3q9l1@4ax.com> <899d499e-c1ad-4863-b941-575aaaac1c4b@googlegroups.com> <p5has759jpj1tpfhpm2ibba88fe4kdiria@4ax.com>

Show all headers | View raw


On 5/29/2012 2:55 PM, Gene Wirchenko wrote:
> On Tue, 29 May 2012 14:07:29 -0700 (PDT), Lew<lewbloch@gmail.com>
> 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

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