
Re: specify a directory [SOLVED]
i fixed the if not defined error
just use errorlevel
Code:
if %errorlevel%==1 cls & goto loop1
i write it after
set /p "cho1=Option #:"
it fixed the empty enter or invaled directory path
and using if not defined without %% worked too
i have no error with start /w %%d it work fine