Re: Commercial use of FreeDOS / BETA status and missing features

Paul Berger <[email protected]> 09 Nov 2002 10:39:56 -0600
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
On Sat, 2002-11-09 at 10:15, Aitor Santamaria Merino wrote:
> If I understood correctly, you mean that %%n and %n would be cutted to 
> shortfilename by COMMAND, that would make sense to preserve 
> compatibility with older DOS programs that know nothing about LFNs.
> For the contrary, I have checked that if you issue the following command 
> for PROGRAM.EXE be a traditional 16-bit program,
> C:\>PROGRAM   "My long file name.txt"
> with NT's CMD.EXE, you get
> "My
> as first parameter. I don't know if this also happens for Win9X/ME 
> COMMAND, but in such case, I would say this is an error, the desirable 
> thing would be that  MYLONG~1.TXT is passed as first argument, am I right?

I don't know about that behaviour ... I'll have to do some testing on a
9x system to figure that out.

What I was talking about is if you have the following line in a batch
file:

FOR %%F IN (*.TXT) DO ECHO %%F

It would use MYLONG~1.TXT for %%F instead of the long file name.

Regards,
Paul