Unable to display the value of environment variable

前端 未结 1 1134
梦如初夏
梦如初夏 2021-01-24 08:52

The code is as below

@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
cd/
if exist c:\\programdata\\intel\\pre (
    if exist c:\\Locker (
        move c:\\Locker c:\\p         


        
相关标签:
1条回答
  • 2021-01-24 09:35

    Use this with delayed expansion:

    echo !pass1!
    
    0 讨论(0)
提交回复
热议问题