Change Win95 environment variables

Can I change an environment variable that was declared in
autoexec.bat from a VB program, without the need to restart
the comupter ?
amnavAsked:
Who is Participating?
 
web_crusherConnect With a Mentor Commented:
of course , the change can be done - the effect of it will take place only after the reboot.

the bat file are ascii files open them with

dim stringlien as string

open file for input as #1
do until e0f(1)
line input #1 , stringline
'what ever you want to change
loop

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.