Originally posted by killer05 at 2006-9-20 20:34:
我想的是能保存在记录的文件夹里就能看,我就是怎么弄都进不了记录的文件夹
象上题一样,如果我选择了2,那么保存在记录里的文件按4就看不了了
弄不进记录的文件夹是因为你的命令使用出错了:
copy %ii%.txt ".\记录\%ii%.txt"
选2后, 再选4就看不了:
记录文件已经删除还怎么看;
:B
md .\记录
copy %ii%.txt ".\记录\%ii%.txt"
del *.txt
cls
goto E
:C
md 记录
copy %ii%.txt ".\记录\%ii%.txt"
cls
goto E
:D
if %ii%.txt (
type \%ii%.txt.txt
) else (
type ".\记录\%ii%.txt"
)
PAUSE
cls
goto E
:F
end
不知楼主的思路是什么, 稍微修改了一下...
Last edited by pengfei on 2006-9-21 at 02:19 ]