我试图将下面的脚本的输出redirect到一个文件
REM go to the caffe root cd ../../ set BIN=build/x64/Release "%BIN%/caffe.exe" train --solver=examples/cifar10/cifar10_full_relu_solver_bn.prototxt
我努力了 :
REM go to the caffe root cd ../../ set BIN=build/x64/Release "%BIN%/caffe.exe" train --solver=examples/cifar10/cifar10_full_relu_solver_bn.prototxt > caffe.log
并且
REM go to the caffe root cd ../../ set BIN=build/x64/Release "%BIN%/caffe.exe" train --solver=examples/cifar10/cifar10_full_relu_solver_bn.prototxt 1> caffe.log 2>&1
但是他们都没有工作。
它的奇怪,但是,如果我使用一个简单的Windows命令,如dir
它的工作,但不是我的应用程序的输出!
这里怎么了?