delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/13/12:45:30

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP Library function System(); problem under WIN NT
Date: 13 Jun 2003 16:36:54 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 22
Message-ID: <bccuj6$e9t$1@nets3.rz.RWTH-Aachen.DE>
References: <A39EEA2C33B08346A5D92E8DC6BD6B540723ECEE AT exchange DOT moog DOT com>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1055522214 14653 137.226.32.75 (13 Jun 2003 16:36:54 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 13 Jun 2003 16:36:54 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Shete, Bahubali     (icd) USX" <bvshete AT moog DOT com> wrote:

> 1. the tmpnam() function with DJGPP returns filenames with '/' as
> separators in the path for the temp. file name. Where as DOS doesn't
> like it.

Wrong.  DOS itself is quite happy with '/' characters to separate
directories inside a file's fullname.  The only parts that really care
are COMMAND.COM and some of the utility programs.

> function call to DOS shell. This works fine under WIN 2000. But fails under
> WIN NT. 

Fails *how*?  Details please.  And/or a minimal program source code
demonstrating the problem.  

Have you checked you're not running into problems due to the lack of
support for long file names on NT, compared to NT5 a.k.a Windows 2000?

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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