Re: command_line() bug in ex.exe 2.4
- Posted by Bernie Ryan <xotron at bluefrog.com> Nov 04, 2004
- 469 views
Robert Craig wrote: > > The DOS command line is not handled the way you would like, > but I don't have control over that. I just take the command line > arguments as the system provides them to me. (Same on Linux > and FreeBSD). > > For Windows, I get the command line as one long string, > and I have to break it up into separate arguments, taking > quotes into account. If there was something wrong, > I might be able to correct it. But apparently you like the > way exw does things. > > I don't necessarily agree that Euphoria's > command line arguments must be completely consistent > across all platforms. The O/S and the command shell > can process the command line before the program sees it. > Even between DOS and Windows, I think there may be > subtle differences beyond what you've observed. > > Regards, > Rob Craig > Rapid Deployment Software > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> > Rob: Here are the rules that microsoft uses to parse the command. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccelng/htm/progs_12.asp Bernie My files in archive: w32engin.ew mixedlib.e eu_engin.e win32eru.ew Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan