I want to delete the contents of a file which has "FIlE" as extension i.e with no extension. I know how to delete the contents of a Text file, but not about the file which has "File" as extension.
I would appreciate your efforts. Thanks in advance.
Use Del *.
in batch file to remove files with no extension.
use Dir /A-D *.
to list down all files with no extension.
Use following command to clear the contents of a file
findstr "Any data that is not available in origfilename" origfilename > origfilename
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With