delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/04/16:18:37

From: ridg3 AT hotmail DOT com (Richard)
Newsgroups: comp.lang.c,comp.lang.c++,alt.comp.lang.learn.c-c++,comp.os.msdos.djgpp,rec.games.programmer
Subject: Re: Long filenames in DOS?
Date: Wed, 04 Aug 1999 16:28:40 GMT
Message-ID: <37a8683e.1721239@news.dircon.co.uk>
References: <37A84A9F DOT F22A6691 AT thucker DOT com DOT th>
X-Newsreader: Forte Free Agent 1.11/32.235
X-Original-NNTP-Posting-Host: 194.112.56.244
X-Original-NNTP-Posting-Host: 194.112.32.19
Lines: 22
NNTP-Posting-Host: newsread3.dircon.co.uk
X-Trace: reader.news.dircon.net 933784063 7406 194.112.32.19
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 04 Aug 1999 22:13:51 +0800, "abx AT xyz DOT com" <abx AT xyz DOT com> wrote:

>Anyone has any idea how to read and write long filenames in DOS using
>C/C++ or ASM? Thanks

To Read :
	char name_str[25];

	gets (name_string);

To Write :

	puts (name_string);


Unfortunately this will only work when the user enters "long filenames
in DOS"



Richard

- Raw text -


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