Setting Environment Variables

你知道windows 98的环境变量设置吗,我工作的时候就碰到过,到网上找了找,老外写的还真详细细致,感激!

http://www.chem.gla.ac.uk/~louis/software/faq/q1.html

[b]For Windows 95[/b]

It is necessary to manually edit the file AUTOEXEC.BAT with a text editor (NOT a word processor like Word). The file is in your top directory (normally c:\AUTOEXEC.BAT). You will need to add a line to set each variable at the bottom of this file. The syntax for this is :

[i]set "environment variable"="value"[/i]

where appropriate values for the strings "environment variable" and "value" are given. "environment variable" is the name of the variable and "value" is normally a FULL pathname which will depend on your installation (i.e. where you chose to put the program). For example, to set the environment variable WINGXDIR when you have installed the program in the default location "c:\wingx" then

[i]set WINGXDIR=c:\wingx[/i]

You must then reboot your computer to effect these changes in the AUTOEXEC.BAT file

[b]For Windows 98/ME[/b]

While it is possible to set environment variables in the same way as for Windows 95 by editing the file AUTOEXEC.BAT, it is easier to use the Microsoft facility MSCONFIG (which does this for you).
For Windows 98, first run MSCONFIG from the task bar:

[img]http://dl.iteye.com/upload/attachment/262354/874d3866-58ac-3f6d-9df0-21043b3a51b2.gif[/img]

Select the "Autoexec.bat" pane, then go to the bottom of the window, select the last entry and click the "New" button. A small input window appears below the last entry, and in this you should type a new entry with the exact syntax as shown in the example below. This example shows how to set the environment variable WINGXDIR when you have installed the program in the default location "c:\wingx", but obviously is you are setting a different environment variable, then different values are typed in.

[img]http://dl.iteye.com/upload/attachment/262361/09583bbe-1731-3811-85ce-d2b4450b3ad5.gif[/img]

Then click "OK" and a small pen appears against the entry, indicating that the AUTOEXEC.BAT file will be modified.


[img]http://dl.iteye.com/upload/attachment/262364/f6b5454f-aeee-368d-b258-128ddb107bcc.gif[/img]

The following window then appears, indicating that you need to reboot your computer to make these changes effective.


[img]http://dl.iteye.com/upload/attachment/262368/fc678170-52cf-3099-8c59-c0d0f78bc98f.gif[/img]

For Windows ME, the process is identical, except that the last Window does not appear and it is not necessary to reboot the computer.

后面的略
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值