Help Configuring Environment Variables with a batch file.

A

arymal29

I am trying to write a batch file to configure w2k
environment variables. Everything I have tried hasn't
work.

User variables :
XXX_HOME => variable
C:\XXX => value

XXX_AUTH_METHOD => variable
PW => value

XXX_CASESENSE => variable
MIXED => value

NLSPATH => variable
C:\XXX\EDU\%N => value


System variable :
HOSTNAME => variable
ARYMAL => value

ARYMAL29_TXT => variable
ZZZZZ => value

XXX_USER => variable
ANYBODY => value

USER => variable
ANYBODY => value

PATH => variable (need to contain a network drive mapped
to the machine ex: V;\V:\codepage)
 
D

Dave Patrick

You can use setx.exe from the resource kit.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
Microsoft Certified Professional [Windows 2000]
http://www.microsoft.com/protect


:
| I am trying to write a batch file to configure w2k
| environment variables. Everything I have tried hasn't
| work.
|
| User variables :
| XXX_HOME => variable
| C:\XXX => value
|
| XXX_AUTH_METHOD => variable
| PW => value
|
| XXX_CASESENSE => variable
| MIXED => value
|
| NLSPATH => variable
| C:\XXX\EDU\%N => value
|
|
| System variable :
| HOSTNAME => variable
| ARYMAL => value
|
| ARYMAL29_TXT => variable
| ZZZZZ => value
|
| XXX_USER => variable
| ANYBODY => value
|
| USER => variable
| ANYBODY => value
|
| PATH => variable (need to contain a network drive mapped
| to the machine ex: V;\V:\codepage)
 
T

Torgeir Bakken (MVP)

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top