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

"Arkady V.Belousov" <[email protected]> Sat, 9 Nov 2002 22:58:04 +0300 (MSK)
Newsgroups gmane.os.freedos.devel,gmane.spam.detected
Message-ID <[email protected]>
X-Comment-To: Aitor Santamaria Merino

Hi!

9-Ноя-2002 17:15 [email protected] (Aitor Santamaria Merino) wrote to
[email protected]:

ASM> For the contrary, I have checked that if you issue the following command
ASM> for PROGRAM.EXE be a traditional 16-bit program,
C:\>>PROGRAM   "My long file name.txt"
ASM> with NT's CMD.EXE, you get
ASM> "My
ASM> as first parameter.

     16-bit programs receives _one string_ with full command line. Parsing
this string complete at the PROGRAM conscience. BC++ RTL (see setargv.asm)
handles quotes and all "My long file name.txt" will be passed into argv[] as
one string [without quotes]. AFAIK, MSC does same. If you implement parsing
command line in PSP manually, then _you_ may forget about quotes.

     But there is another trouble: with BC/MSC RTL you can't implement MS
FIND syntax!

ASM> I don't know if this also happens for Win9X/ME
ASM> COMMAND, but in such case, I would say this is an error, the desirable
ASM> thing would be that  MYLONG~1.TXT is passed as first argument, am I right?