Posted: Wed Oct 06, 2004 4:08 pm Post subject: Quick question (Dos logging)
When I run a command through MS-DOS how do I log it in a log file... for example, I am trying to make a program that finds all the computers on a network, logs them in a file, then displays them in a listbox.
Sponsor Sponsor
wtd
Posted: Wed Oct 06, 2004 5:15 pm Post subject: (No subject)
Simple shell syntax.
To write the result to a file:
code:
C:\> Some_program > log.txt
To append the result to a file:
code:
C:\> Some_program >> log.txt
BioHazardousWaste
Posted: Wed Oct 06, 2004 6:29 pm Post subject: (No subject)