1.

Solve : Clear a file??

Answer»

Okay, this is a very nooby question, but I'm no expert.
How do I simply clear a text FILE of all its contents?
I was THINKING something like:
CODE: [SELECT]echo  >file.txtbut that would ADD in a space.This may help:

Code: [Select]type nul > file.txt

Good luck.  Thanks!



Discussion

No Comment Found