
-----------------------------------
BioHazardousWaste
Wed Oct 06, 2004 4:08 pm

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.

-----------------------------------
wtd
Wed Oct 06, 2004 5:15 pm


-----------------------------------
Simple shell syntax.

To write the result to a file:

C:\> Some_program > log.txt

To append the result to a file:

C:\> Some_program >> log.txt

-----------------------------------
BioHazardousWaste
Wed Oct 06, 2004 6:29 pm


-----------------------------------
Perfect... thanx
