1. window bat批处理文件中常常有setlocal和endlocal,那它们的作用是什么呢? microsoft官方文档解释是 Setlocal creates a local scope and endlocal terminates the local scope. Any changes made within the setlocal and endlocal scope are discarded, thereby leaving the original envi ...

    阅读全文