
CODE: [Copy to clipboard]@echo off
:begin
set input=
set/p input=Please input pathname:
echo %input%|findstr /i "[A-Z]:\\.*" >nul 2>nul||(echo Error&goto begin)
if not exist %input:~0,2%\nul (echo Error&goto begin)
echo OK
pause&exit/b
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |