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

Reply via email to