China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 04:25
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Question! Why is there no effect when I use TC functions to add DOS variables? View 615 Replies 2
Original Poster Posted 2003-11-27 00:00 ·  中国 四川 成都 联通
初级用户
Credits 111
Posts 2
Joined 2003-11-27 00:00
22-year member
UID 13444
Gender Male
Status Offline
I'm programming with TC.
I used one of them called PUTENV, wanting to add an environment variable to DOS. After the program finished, I used the SET command to check, and it wasn't added... Why?
Also, I used System to execute the DOS command path=c:\;D:\, then went back to DOS and checked with the path command, and the original path hadn't changed either... Why??
Floor 2 Posted 2003-12-04 00:00 ·  中国 台湾 中华电信
初级用户
Credits 168
Posts 16
Joined 2003-11-21 00:00
22-year member
UID 13141
Gender Male
Status Offline
system should use SET PATH=c:\;d:;
Floor 3 Posted 2003-12-13 00:00 ·  中国 天津 南开区 电信
高级用户
★★
Credits 924
Posts 243
Joined 2003-07-09 00:00
23-year member
UID 6612
Gender Male
Status Offline
path=...... is used in config.sys
Forum Jump: