RE: Setting env and path variables



If you set up a batch file, with the commands below and run it in a command
prompt under winXP it should work. You'd have to run that batch file
everytime you start the command prompt though - and every instance of a
command prompt you run. It's better to put it in the env. Variables. This
way other programs can call it easily. But.. that djgpp var is not typed
correctly.

-----Original Message-----
From: alex bodnaru [mailto:alexbodn@xxxxxxxxxx]
Sent: Monday, January 09, 2006 8:24 PM
To: djgpp@xxxxxxxxxxx
Subject: Re: Setting env and path variables

hi,

the first row is a variable in it's own right,
while you should manually prepend c:\djgpp\bin to your already existing
path variable.

i'm not entirely sure, but this batch fragment my also work in winxp.

alex

BobWright wrote:
> I am a newbie to XP and am used to
> set DJGPP=C:\DJGPP\.ENV
> set PATH=C:\DJGPP\BIN;%PATH%
> in Win98se
> I cannot figure out how to put this information into the two boxes at "My
> Computer>properties>Environment Variables"
> Thank you
>
>
>

.



Relevant Pages

  • Running FTP Batch file on server
    ... I want to download hourly definitions from the Symantec ftp site using a ... The batch file fails and if at the command ... prompt I type open ftp.symantec.com I just get an error: ...
    (microsoft.public.windows.server.sbs)
  • Re: i want to add a promt to a batch command.
    ... When you want to add a prompt to a BATCH file you would use the set ... so if you wanted to name your variable "Username" you would have ... set is the command ...
    (microsoft.public.windows.server.scripting)
  • Re: Publisher 2007/Vista - print problems with newsletter
    ... DOS prompt, but all it will give me is "run is not recognised as an internal or external command, operable program or batch file" whenever I try to use the "Run as administrator" instruction. ...
    (microsoft.public.publisher)
  • Command Prompt Question
    ... Hi I am trying to write a simple batch file that opens a command ... prompt under my domain username, ... I would like to add "x:" to the batch file. ...
    (microsoft.public.windowsxp.general)
  • Re: Windows could not start because the following file is missing or corrupt: System32DriversNtfs.sy
    ... And perform a chkdsk /f on the slave sdrive, ... Using the F10 option, once you get to the C: prompt, put the floppy ... Alt and D keys at the same time to go to a command prompt. ...
    (microsoft.public.windowsxp.general)