www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/19/09:13:25

Message-ID: <3D380CA2.4090506@eik.bme.hu>
Date: Fri, 19 Jul 2002 14:57:06 +0200
From: =?ISO-8859-1?Q?=22Dr=2E_Andr=E1s_S=F3lyom=22?= <solyom AT eik DOT bme DOT hu>
Organization: none
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530
X-Accept-Language: hu,en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Editing autoexec.bat in Windows XP
References: <000a01c22efe$4438f6f0$f0479c18 AT LAPTOP>
Reply-To: djgpp AT delorie DOT com

Ken Hill wrote:

> Hi!
>  
> I want to install DJGPP but:
>  
> I am unable to edit either autoexec.bat or config.sys in Windows XP. 
> The two files are hidden and show up with a leading 0 in the c:\  
> directory.
>  
> Presumably I can set the path in the Environment window, but how do I 
> place:
>  
> *SHELL=C:\COMMAND.COM /E:4096 /P*
> ** 
> in the config.sys file?
>  
> Will issuing the path command in the command prompt window work 
> assuming I don't need the SHELL command?
>  
> Thank you,
>  
> Ken
>  
> Kenneth O. Hill
>  
> #1 Binning Court
> Kanata, Ontario, CANADA K2K 1B2
> Tel. (613) 592-2809
> FAX (613) 592-2809
> kohill AT rogers DOT com <mailto:kohill AT rogers DOT com>

I created a batch  file in some directory (actually I call it 
autoexec.bat, but any name coud do) and put a shortcut to it into the 
startup menu. I needed this hack because I am using DOS's SUBST command 
and this was the only way to do it. (Although there is an AUTOEXEC.NT 
and a CONFIG.NT file in  the system32 directory, but they are only used 
for DOS shells and not able to run SUBST.)

Or you can use the CONTROL PANEL\Administrative tools\computer 
management applet. Right click on Computer Management (Local), and then 
select Properties. On the Advanced tab, click Environment Variables. 
Here you can add your variables.

                                                    Andras

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019