Creating a batch file to look up another file -
i learning batch language , stuck. want create batch file ask directory enter location of hi.txt:
once user inputs location check whether location correct or not searching file hi.txt
. if finds it echo file found !
, move next block of code
however if not find return error hi.txt not found
, again ask directory. searched on net results either of searching file or asking simple questions. , if answer, please tell me code in answer can understand , it.
edit: least tried set /p pathname=enter key:%=%
thanks & regards,
Comments
Post a Comment