我正在尝试执行以下命令
findstr /RC:"h25v06.*hdf\"" "index.html" >temp.txt
Run Code Online (Sandbox Code Playgroud)
跟踪输出
index.html:<img src="/icons/unknown.gif" alt="[ ]"> <a
href="MOD13Q1.A2018257.h25v06.006.2018282132046.hdf">
FINDSTR: Cannot open >temp.txt
Run Code Online (Sandbox Code Playgroud)
它不会将输出保存到 temp.txt 其他命令,例如
dir * >list.txt
Run Code Online (Sandbox Code Playgroud)
工作正常