Board logo

标题: [文本处理] 批处理提示 push 不是内部或外部命令,也不是可运行的程序 [打印本页]

作者: surging    时间: 2017-9-2 20:21     标题: 批处理提示 push 不是内部或外部命令,也不是可运行的程序

下面这个运行时提示 push 不是内部或外部命令,也不是可运行的程序……

请问怎么改?谢谢!感激不尽!
  1. @echo off
  2. push d:\
  3. (for /f "tokens=*" %%i in ('dir/s/b *.doc *.ppt') do (
  4. handle "%%i"&&echo %%i))>d:\filelist.txt
复制代码
这里下载handle 命令行工具 http://pan.baidu.com/s/1pKXliqB
作者: Batcher    时间: 2017-9-2 21:52

pushd d:\
作者: surging    时间: 2017-9-3 08:59

回复 2# Batcher


    谢谢你!




欢迎光临 批处理之家 (http://www.bathome.net/) Powered by Discuz! 7.2