How to set environment variables in vbs that can be read in calling batch script

后端 未结 5 417
太阳男子
太阳男子 2021-01-11 17:23

I have a batch file that calls a vbscript file. I am trying to have the vbscript file change an environment variable that is later used in the batch file that calls the vbsc

5条回答
  •  太阳男子
    2021-01-11 17:50

    I don't think you can do this. At least, you would need to mess with the environment block in the calling process, and there's no guarantee that it will respect this...

提交回复
热议问题