卸载Windows 批处理文件中使用的变量是否被认为是必要的或好的做法? 例如在下面的代码中,set myFolder=最后是否需要?
set myFolder=
@echo off set myFolder="C:\Temp\Batchfiles" echo %myFolder% set myFolder=
我在网上的很多地方都看到过这个,当批处理文件结束时,这些变量肯定会自动卸载吗?
windows environment-variables cmd.exe
cmd.exe ×1
environment-variables ×1
windows ×1