Re: [Freedos-user] Set Command

2006-11-28 Thread Arkady V.Belousov
Hi! 28-Ноя-2006 08:59 [EMAIL PROTECTED] (Roberto Mariottini) wrote to freedos-user@lists.sourceforge.net: RM> IIRC when command.com parses the command line the first non-filename RM> character is used to separate the command name from the command line RM> (the space character is one of them),

Re: [Freedos-user] Set Command

2006-11-27 Thread Roberto Mariottini
Hi, Blair Campbell wrote: > both are not correct, as the second one would need to be prefixed with SET to > work correctly. The source of the confusion is that PATH is both a command and an environment variable. The PATH command sets the PATH environment variable, but nothing prevents you from

Re: [Freedos-user] Set Command

2006-11-27 Thread Arkady V.Belousov
Hi! 27-Ноя-2006 14:26 [EMAIL PROTECTED] (Blair Campbell) wrote to freedos-user@lists.sourceforge.net: >> >> BC> So who is for making HELLO=blah equal to SET HELLO=blah in FreeCOM? >> I see no reasons for this (this not adds required/used functionality), >> especially this will eat extra memo

Re: [Freedos-user] Set Command

2006-11-27 Thread Blair Campbell
On 11/27/06, Arkady V.Belousov <[EMAIL PROTECTED]> wrote: > Hi! > > 27-Ноя-2006 13:14 [EMAIL PROTECTED] (Blair Campbell) wrote to > freedos-user@lists.sourceforge.net: > > >> BC> So who is for making HELLO=blah equal to SET HELLO=blah in FreeCOM? > >> Where you see this? Lester was just ask if

Re: [Freedos-user] Set Command

2006-11-27 Thread Arkady V.Belousov
Hi! 27-Ноя-2006 13:14 [EMAIL PROTECTED] (Blair Campbell) wrote to freedos-user@lists.sourceforge.net: >> BC> So who is for making HELLO=blah equal to SET HELLO=blah in FreeCOM? >> Where you see this? Lester was just ask if this possible or not. No one >> was discuss adding support for this (

Re: [Freedos-user] Set Command

2006-11-27 Thread Blair Campbell
Well, the source code's already been written, but I'd like a few more people's OK :-). On 11/27/06, Florian Xaver <[EMAIL PROTECTED]> wrote: > I like the idea. Sounds very practical. > > Bye > Flo > > > On Mon, 27 Nov 2006 22:33:10 +0100, Blair Campbell <[EMAIL PROTECTED]> > wrote: > > > Any par

Re: [Freedos-user] Set Command

2006-11-27 Thread Florian Xaver
I like the idea. Sounds very practical. Bye Flo On Mon, 27 Nov 2006 22:33:10 +0100, Blair Campbell <[EMAIL PROTECTED]> wrote: > Any particular reason? > > On 11/27/06, Florian Xaver <[EMAIL PROTECTED]> wrote: >> No. >> >> Bye Flo >> >> >> On Mon, 27 Nov 2006 21:57:21 +0100, Blair Campbell <

Re: [Freedos-user] Set Command

2006-11-27 Thread Blair Campbell
Any particular reason? On 11/27/06, Florian Xaver <[EMAIL PROTECTED]> wrote: > No. > > Bye Flo > > > On Mon, 27 Nov 2006 21:57:21 +0100, Blair Campbell <[EMAIL PROTECTED]> > wrote: > > > So who is for making HELLO=blah equal to SET HELLO=blah in FreeCOM? > > And according to POSIX, %PWD% is suppos

Re: [Freedos-user] Set Command

2006-11-27 Thread Florian Xaver
No. Bye Flo On Mon, 27 Nov 2006 21:57:21 +0100, Blair Campbell <[EMAIL PROTECTED]> wrote: > So who is for making HELLO=blah equal to SET HELLO=blah in FreeCOM? > And according to POSIX, %PWD% is supposed to be set to the current > directory by CD. Is anyone against adding these features? > >

Re: [Freedos-user] Set Command

2006-11-27 Thread Blair Campbell
On 11/27/06, Arkady V.Belousov <[EMAIL PROTECTED]> wrote: > Hi! > > 27-Ноя-2006 12:57 [EMAIL PROTECTED] (Blair Campbell) wrote to > freedos-user@lists.sourceforge.net: > > >> Who says about "HELLO="? We discuss "PATH " and "PATH=". > >> PS: As I understand, this is another bug/feature, like "c

Re: [Freedos-user] Set Command

2006-11-27 Thread Arkady V.Belousov
Hi! 27-Ноя-2006 12:57 [EMAIL PROTECTED] (Blair Campbell) wrote to freedos-user@lists.sourceforge.net: >> Who says about "HELLO="? We discuss "PATH " and "PATH=". >> PS: As I understand, this is another bug/feature, like "cd.." and "echo.". BC> So who is for making HELLO=blah equal to SET HEL

Re: [Freedos-user] Set Command

2006-11-27 Thread Blair Campbell
So who is for making HELLO=blah equal to SET HELLO=blah in FreeCOM? And according to POSIX, %PWD% is supposed to be set to the current directory by CD. Is anyone against adding these features? On 11/27/06, Arkady V.Belousov <[EMAIL PROTECTED]> wrote: > Hi! > > 27-Ноя-2006 11:38 [EMAIL PROTECTED]

Re: [Freedos-user] Set Command

2006-11-27 Thread Arkady V.Belousov
Hi! 27-Ноя-2006 11:38 [EMAIL PROTECTED] (Blair Campbell) wrote to freedos-user@lists.sourceforge.net: BC> Well I don't understand why PATH=blah blah would be accepted but BC> HELLO=blah blah wouldn't work. >> >> L> PATH %DOSDIR%\BIN >> >> L> PATH=%DOSDIR%\BIN >> Both are accepted by MS-comma

Re: [Freedos-user] Set Command

2006-11-27 Thread Blair Campbell
Well I don't understand why PATH=blah blah would be accepted but HELLO=blah blah wouldn't work. On 11/27/06, Arkady V.Belousov <[EMAIL PROTECTED]> wrote: > Hi! > > 27-Ноя-2006 11:16 [EMAIL PROTECTED] (Blair Campbell) wrote to > freedos-user@lists.sourceforge.net: > > BC> both are not correct, as t

Re: [Freedos-user] Set Command

2006-11-27 Thread Arkady V.Belousov
Hi! 27-Ноя-2006 11:16 [EMAIL PROTECTED] (Blair Campbell) wrote to freedos-user@lists.sourceforge.net: BC> both are not correct, as the second one would need to be prefixed with BC> SET to work correctly. >> L> PATH %DOSDIR%\BIN >> L> PATH=%DOSDIR%\BIN >> Both. Both are accepted by MS-c

Re: [Freedos-user] Set Command

2006-11-27 Thread Blair Campbell
both are not correct, as the second one would need to be prefixed with SET to work correctly. On 11/27/06, Arkady V.Belousov <[EMAIL PROTECTED]> wrote: > Hi! > > 26-Ноя-2006 04:25 [EMAIL PROTECTED] (Lester) wrote to > freedos-user@lists.sourceforge.net: > > L> Ok, and now, which syntax is correct:

Re: [Freedos-user] Set Command

2006-11-27 Thread Arkady V.Belousov
Hi! 26-Ноя-2006 04:25 [EMAIL PROTECTED] (Lester) wrote to freedos-user@lists.sourceforge.net: L> Ok, and now, which syntax is correct: L> PATH %DOSDIR%\BIN L> or L> PATH=%DOSDIR%\BIN Both. - Take Surveys. Earn Cash. In

Re: [Freedos-user] Set Command

2006-11-27 Thread Lester
Here is Eric's comment (sent by private email). I decided to post it here because someone else might find it useful as well. - L: which version of the following commands in Fdauto.bat is correct? Eric: - version 1 is correct - version 2: dos has no way to know that "temp" is not the nam

Re: [Freedos-user] Set Command

2006-11-25 Thread Blair Campbell
Of course, just for the record, SET PATH=blah blah blah does exactly the same thing and works just as well. On 11/25/06, Lester <[EMAIL PROTECTED]> wrote: > >> L: ok and now, which syntax is correct: > >> > >> PATH %DOSDIR%\BIN > >> > >> or > >> > >> PATH=%DOSDIR%\BIN > > > Blair: I can quote my p

Re: [Freedos-user] Set Command

2006-11-25 Thread Lester
>> L: ok and now, which syntax is correct: >> >> PATH %DOSDIR%\BIN >> >> or >> >> PATH=%DOSDIR%\BIN > Blair: I can quote my previous response to answer that: PATH %DOSDIR%\BIN Thanks for clarification. Lester - Take Surve

Re: [Freedos-user] Set Command

2006-11-25 Thread Blair Campbell
I can quote my previous response to answer that: PATH %DOSDIR%\BIN;... On 11/25/06, Lester <[EMAIL PROTECTED]> wrote: > Thanks, everyone. Sorry that my original question wasn't very clear. > Arkady somehow managed to get what I really meant. To clarify, the > question should have been posted as: >

Re: [Freedos-user] Set Command

2006-11-25 Thread Lester
Thanks, everyone. Sorry that my original question wasn't very clear. Arkady somehow managed to get what I really meant. To clarify, the question should have been posted as: which version of the following commands in Fdauto.bat is correct? version #1: SET DOSDIR=D:\FDOS SET NLSDIR=%DOSDIR%\NLS

Re: [Freedos-user] Set Command

2006-11-25 Thread Arkady V.Belousov
Hi! 25-Ноя-2006 10:28 [EMAIL PROTECTED] (Lester) wrote to freedos-user@lists.sourceforge.net: L> In my Fdauto.bat I've always had SET command everywhere. Someone has just L> pointed out that I could probably skip SET in most (all?) of the lines. "SET" isn't required only for PROMPT and PATH

Re: [Freedos-user] Set Command

2006-11-25 Thread Blair Campbell
Hi. All of the environment variables that you use above are used in FreeDOS apps, so depending on what you want out of FreeDOS you _do_ need those set lines. DOSDIR is used for fdpkg to install new packages, NLSDIR is used by kittenized apps to locate translated messages, HELPPATH is used by HELP

[Freedos-user] Set Command

2006-11-25 Thread Lester
In my Fdauto.bat I've always had SET command everywhere. Someone has just pointed out that I could probably skip SET in most (all?) of the lines. I have even come across a notion that in ms-dos "set was used to set other environment variables/parameters but not the path". Tnx, Lester -