windows - Writing command prompt to a file -


i started cmd , using commands started services starts new cmd window , shows logs in window , closed within seconds. want redirect file. have tried below

  command > d:\temp.txt 

but of no use...can 1 tell me how

try this

command > d:\temp.txt 2>&1 

but command works fine. update question command clear answer.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -