如何在批处理脚本中从命令提示符设置变量的值? [英] How do you set the value of a variable from command prompt within a batch script?

查看:85
本文介绍了如何在批处理脚本中从命令提示符设置变量的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只需要通过批处理文件中的命令提示重新设置程序变量的值,但完全忘记了如何。

I just need to re-set the value of an program variable through a command prompt from within a batch file but totally forgot how to.



你能帮忙吗?


Can you help?

推荐答案

什么是程序变量? 

What is a program variable? 

你的意思是通过命令提示符和批处理文件设置它?

What do you mean setting it through a command prompt with a batch file?

很抱歉,你发布的内容没有多大意义。  ;请解释你需要做什么,而不是你想怎么做。

I am sorry but nothing you have posted makes much sense.  Please explain what you need to do and not how you want to do it.


这篇关于如何在批处理脚本中从命令提示符设置变量的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆