Tried that: You get a file consisting 2 quotes marks I couldn't get any permutation of echo to work. At 8/24/2005 11:08 PM, you wrote: >Don't have a windows box here, but how about... > >echo "" > some_file > >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 - PLUG-discuss@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@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@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@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@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss