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 previous response to answer that:
>
> PATH %DOSDIR%\BIN
>
> Thanks for clarification.
>
> Lester
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>


-- 
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
   David Letterman (1947 - )

See ya

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


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 Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


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:
>
> which version of the following commands in Fdauto.bat is correct?
>
> version #1:
>
> SET DOSDIR=D:\FDOS
> SET NLSDIR=%DOSDIR%\NLS
> SET HELPPATH=%DOSDIR%\HELP
> SET PATH=%DOSDIR%\BIN
> SET TEMP=E:\TEMP
> SET TMP=E:\TEMP
> SET DIRCMD=/P /OG /A
>
> version #2:
>
> DOSDIR D:\FDOS
> NLSDIR %DOSDIR%\NLS
> HELPPATH %DOSDIR%\HELP
> PATH %DOSDIR%\BIN
> TEMP E:\TEMP
> TMP E:\TEMP
> DIRCMD /P /OG /A
>
> version #3:
>
> DOSDIR=D:\FDOS
> NLSDIR=%DOSDIR%\NLS
> HELPPATH=%DOSDIR%\HELP
> PATH=%DOSDIR%\BIN
> TEMP=E:\TEMP
> TMP=E:\TEMP
> DIRCMD=/P /OG /A
>
> And here is Arkady's answer:
>
> > "SET" isn't required only for PROMPT and PATH.
>
> Ok, and now, which syntax is correct:
>
> PATH %DOSDIR%\BIN
>
> or
>
> PATH=%DOSDIR%\BIN
>
> Lester
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>


-- 
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
   David Letterman (1947 - )

See ya

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


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
SET HELPPATH=%DOSDIR%\HELP
SET PATH=%DOSDIR%\BIN
SET TEMP=E:\TEMP
SET TMP=E:\TEMP
SET DIRCMD=/P /OG /A

version #2:

DOSDIR D:\FDOS
NLSDIR %DOSDIR%\NLS
HELPPATH %DOSDIR%\HELP
PATH %DOSDIR%\BIN
TEMP E:\TEMP
TMP E:\TEMP
DIRCMD /P /OG /A

version #3:

DOSDIR=D:\FDOS
NLSDIR=%DOSDIR%\NLS
HELPPATH=%DOSDIR%\HELP
PATH=%DOSDIR%\BIN
TEMP=E:\TEMP
TMP=E:\TEMP
DIRCMD=/P /OG /A

And here is Arkady's answer:

> "SET" isn't required only for PROMPT and PATH.

Ok, and now, which syntax is correct:

PATH %DOSDIR%\BIN

or

PATH=%DOSDIR%\BIN

Lester


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


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.

L> I have even come across a notion that in ms-dos "set was used to set
L> other environment variables/parameters but not the path".

 Wrong.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


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 to locate its help files, PATH is
used to find utilities not in the current directory (obvious), TEMP
and TMP are used by a variety of apps FreeDOS and non-FreeDOS to make
temporary files, and DIRCMD is used by FreeCOM to specify options to
use for DIR every time it is run.  TMPPATH could even be in there as
well, because unix programs ported to DOS use this instead of TEMP or
TMP to create temporary files.

As for the PATH thing, in MSDOS SET PATH worked fine, but there was
also a PATH command which would just have the syntax of "PATH
C:\FDOS\BIN;...".  That just sets the environment variable PATH
exactly the same way as SET though.

On 11/25/06, Lester <[EMAIL PROTECTED]> wrote:
> 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
>
> --
> Fdauto.bat
>
> @ECHO OFF
> PROMPT $P$G
> SET DOSDIR=D:\FDOS
> SET NLSDIR=%DOSDIR%\NLS
> SET HELPPATH=%DOSDIR%\HELP
> SET PATH=%DOSDIR%\BIN
> SET TEMP=E:\TEMP
> SET TMP=E:\TEMP
> SET DIRCMD=/P /OG /A
> SRDISK.EXE 8192
> SHCDX33C /D:?CDRCACH$ /V /~+ /Q+
> CTMOUSE.EXE
> ECHO CuteMouse Driver Loaded
> FREE.EXE
> --
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>


-- 
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
   David Letterman (1947 - )

See ya

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


[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

--
Fdauto.bat

@ECHO OFF
PROMPT $P$G
SET DOSDIR=D:\FDOS
SET NLSDIR=%DOSDIR%\NLS
SET HELPPATH=%DOSDIR%\HELP
SET PATH=%DOSDIR%\BIN
SET TEMP=E:\TEMP
SET TMP=E:\TEMP
SET DIRCMD=/P /OG /A
SRDISK.EXE 8192
SHCDX33C /D:?CDRCACH$ /V /~+ /Q+
CTMOUSE.EXE
ECHO CuteMouse Driver Loaded
FREE.EXE
--


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user