delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/30/07:30:24

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: vyom2k4 AT yahoo DOT com (Vyom)
Newsgroups: comp.os.msdos.djgpp
Subject: About chdir()
Date: 30 Sep 2004 04:15:51 -0700
Organization: http://groups.google.com
Lines: 15
Message-ID: <bd472b6d.0409300315.b599807@posting.google.com>
NNTP-Posting-Host: 203.126.136.220
X-Trace: posting.google.com 1096542952 14217 127.0.0.1 (30 Sep 2004 11:15:52 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 30 Sep 2004 11:15:52 +0000 (UTC)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have a question regarding chdir() function,

If the file name contains a space, how should the argument 
be passed to chdir function?

I tried including quotes like
chdir ("d:\\\"\program files"");

But I get "Parameter Format Not Correct"

Also is there any difference in running the program in 
cmd.exe and command.com.

--
Vyom

- Raw text -


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