santhoshd48
asked on
batch file to read the given path
batch script to check the given path in system,if exists quit,or else read the mif
ASKER
our environment consists of lot of windows xp and vista,i need to check the path cd windows\itlm\example.exe.s ome machine may have windows and some may hav winnt.it need to check both.
@echo off
setlocal
set dr_=%windir%\itlm\example. exe
if not exist "%dr_%" (
echo "%dr_%" not found
goto :EOF)
setlocal
set dr_=%windir%\itlm\example.
if not exist "%dr_%" (
echo "%dr_%" not found
goto :EOF)
ASKER
do u know how to write mif file
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window