Re: Windows equivalent command

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kurt Wolf
Date:  
To: Main PLUG discussion list
Subject: Re: Windows equivalent command
I think I got it now...

echo. > some_file

Of course, that starts your file off with a blank line

On Aug 24, 2005, at 11:03 PM, AZ Pete wrote:

> 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 -
>>> To subscribe, unsubscribe, or to change you mail settings:
>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change you mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss