Jump to content

Talk:CONFIG.SYS - SET Statements: Difference between revisions

From EDM2
Aasdelat (talk | contribs)
Suggestion to add a new section
 
Aasdelat (talk | contribs)
No edit summary
Line 1: Line 1:
I think it should be added a new section at the begining called "SET: General tips".
I wanted to add here the following:


You must note that this command behaves slightly different from it's behaviour in command line.
So, when you issue the following comands in a OS/2 session:
SET TEMP=C:\TMP
SET TMP=%TEMP%
you get:
TEMP=C:\TMP
TMP=C:\TMP
But, if you add the same lines to config.sys:
SET TEMP=C:\TMP
SET TMP=%TEMP%
you get:
TEMP=C:\TMP
TMP=%TEMP%
but not TMP=C:\TMP. The enviroment variable TMP now has the value composed by the letters "%", "T", "E", "M", "P", "%".

Revision as of 01:31, 8 March 2007