delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/01/12:27:06

Message-ID: <01c801c01414$b594c060$0500007b@brk>
From: "Johan Henriksson" <jhe AT realsoftware DOT cjb DOT net>
To: <djgpp AT delorie DOT com>
Subject: Re: Help!!! how to enter a directory, which has a space?
Date: Fri, 1 Sep 2000 14:53:02 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

>>> could anyone please tell me how to get in a directory which obtains a
apace?
>>> such as 'a b'
>>
>>Surround it with quotes:
>>       cd "a b"

ehm? Been playing with Linux too much?

>I'm not sure if that will work in plain DOS (I know, win9X renames it
Not afaik

>as ab~1, but it is possible to have file and directory names
>containing spaces in plain DOS as well). A trick I used to use would
>be to do
>chdir("a b");
>from a program, which always worked fine.
I'd suggest renaming that dir as soon as possible. I've managed to do this
in interpreted
QB. That was before w9x came and made us go into the dark ages ;)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019