联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
@echo off setlocal enabledelayedexpansion for %%D in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( if exist "%%D:\%Folder%" ( cd /d "%%D:\%Folder%" rem 在这里插入要运行的代码... set in=&set /p in=回车继续,任意字符退出... if not "!in!"=="" exit ) )
Originally posted by moniuming at 2010-1-16 21:49: 没测试... @echo off setlocal enabledelayedexpansion for %%D in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( if exist "%%D:\%Folder%" ( cd /d "%%D:\%Fold ...
@echo off setlocal enabledelayedexpansion for %%D in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do ( if exist "%%D:\%Folder%" ( cd /d "%%D:\%Fold ...