如何将环境变量设置为 Windows 批处理文件中的命令输出?该命令将返回大约 32 个字符的单个值(例如键入 myfile.txt)。
windows script batch-file
batch-file ×1
script ×1
windows ×1