delorie.com/archives/browse.cgi | search |
From: | eglebbk AT dds DOT nl (Evert Glebbeek) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Help!!! how to enter a directory, which has a space? |
Date: | Thu, 31 Aug 2000 22:48:50 GMT |
Organization: | Physics student, University of Amsterdam |
Lines: | 21 |
Distribution: | world |
Message-ID: | <39aebe69.40541574@news.wins.uva.nl> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1000829083832 DOT 25491F-100000 AT is> |
NNTP-Posting-Host: | stol-117-126.uva.studentennet.nl |
X-Trace: | info.wins.uva.nl 967762199 5732 145.98.117.126 (31 Aug 2000 22:49:59 GMT) |
X-Complaints-To: | usenet AT science DOT uva DOT nl |
NNTP-Posting-Date: | Thu, 31 Aug 2000 22:49:59 +0000 (UTC) |
X-Newsreader: | Forte Free Agent 1.11/32.235 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Newsgroup: comp.os.msdos.djgpp From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> On Tue, 29 Aug 2000 08:38:57 +0300 (IDT) > >On Tue, 29 Aug 2000, Simon wrote: > >> 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" I'm not sure if that will work in plain DOS (I know, win9X renames it 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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |