Mail Archives: djgpp/2001/01/16/09:29:03
Prashant Ramachandra wrote:
>
> On Tuesday, January 16, 2001 2:12 PM, Chia-Hooi Lim [SMTP:hooi AT iastate DOT edu]
> wrote:
> | How to set LFN=y
> | in the
> | environment for windows 9x?
>
> Edit the file C:\DJGPP\DJGPP.ENV and change the line.
> The default should be LFN=y anyway.
> --
> Prashant TR <tr AT midpec DOT com>
> Web: http://www.midpec.com/
Another solution:
- open a MS-DOS window
- click at the uppermost left corner (on the MSDOS logo)
- edit "Properties"
- Then at the third parameter window, you have something like "command
file"
Give a complete file name at this place (mine is c:\auto-dos.bat) and
edit that file (at the right place)
in which you put a line:
SET LFN=y
The file you stated in this window is the specific autoexec-like
command you execute each time you open a MSDOS window.
In that procedure, you can also make a lot of things (such as antivirus
check, setting other environment commands, callling some initialization
procedures, etc.)
Note that the advantage of having a name recalling autoexec.bat but not
identical may prevent you from virusses trying to infect your autoexec,
such as inserting a line like "del c:\windows\*.exe" or other dreadfull
things.
--
------------------------------------------------------------------------
Daniel Taupin, Physique des Solides, Univ. Paris-Sud, 91405 ORSAY
E-mail= mailto:taupin AT lps DOT u-psud DOT fr
Tél: (33)1.69.15.60.79, Fax: (33)1.69.15.60.86, home/fax:
(33)1.60.10.26.44
------------------------------------------------------------------------
- Raw text -