Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CMD redirect to screen and file

Status
Not open for further replies.
Repeat the command twice? eg...

dir c:\
dir c:\ > c:\dir.txt

--------------------------------------
"Insert funny comment in here!"
--------------------------------------
 
I have been able to do this against subdirectories in the past. What I do is perform a dir /s | filedir.txt this will open notepad and pipe the output to a notepad file and you will be able to see it on screen. I am sure you can take this further to directly update to screen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top