作业帮 > 综合 > 作业

for /f %%i in ('dir /a:-d /s /b "%ProgramFiles%"') do ( echo

来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/18 09:58:18
for /f %%i in ('dir /a:-d /s /b "%ProgramFiles%"') do ( echo "%%i" pause )
for /f %%i in ('dir /a:-d /s /b "%ProgramFiles%"') do (
echo "%%i"
pause
)
本来应该返回显示出C:\Program Files文件夹里的文件,
可我这显示成这样
C:\Documents and Settings\Administrator>for /F %i in ('dir /a:-d /s /b "C:\Program Files"') do (
echo "%i"
pause
)
C:\Documents and Settings\Administrator>(
echo "C:\Program"
pause
)
"C:\Program"
请按任意键继续. . .
这是哪错了
for /f %%i in ('dir /a:-d /s /b
Program"