Windows equivalent command
AZ Pete
az_pete at cactusfamily.com
Wed Aug 24 23:03:59 MST 2005
I initially tried this and it doesn't work. When you type the echo command
with no text afterwards, it will return the status of the echo command
(either on of off). So, when you execute echo > some_file.txt, the file
will contain the text "echo is on"
Peter
At 8/24/2005 10:51 PM, you wrote:
>echo > some_file
>
>On Aug 24, 2005, at 10:37 PM, AZ Pete wrote:
>
>>Hi All,
>>
>>I want to empty out a log file without having to erase it and
>>recreate a new zero length file.
>>Is there a windows command line equivalent of the following Linux
>>command:
>>
>>cat /dev/null > some_file
>>
>>Thanks!
>>Peter
>>
>>---------------------------------------------------
>>PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>>To subscribe, unsubscribe, or to change you mail settings:
>>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>---------------------------------------------------
>PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>To subscribe, unsubscribe, or to change you mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
More information about the PLUG-discuss
mailing list