После кода в моем пакетном файле:
@echo off
:Test
set A=empty
set /p A= Path:
if %A%==empty (
echo "You have not entered any Path"
echo.
goto Test
) else if not exist "%A%" (
echo "Provided path not exist"
echo.
goto Test
) else (
goto Exist
)
:Exist
echo Path Exist
pause
При вводе пути в виде:
D:\Installed_Softwares\Test Folder\CXR22
пакет автоматически закрывается.
Спасибо за любыеПомогите.