Batch file needed: file size 0 < Kb? Tags: File Size Windows Last response: May 16, 2003 4:50 AM in Windows 2000/NT Share savoc May 14, 2003 11:00:07 AM What im trying to do here is a batch file wich would check if file is over 0 kb. All below 0kb files will be deleted and after deletion batch program ends. I have searched all aver the net for an example script, did'nt find any. Is here gurus enough to solve this? More about : batch file needed file size jlanka May 14, 2003 11:33:20 AM there is no native DOS method of doing this. <A HREF="http://www.ericphelps.com/batch/samples/filesize.txt" target="_new">this guy talks about some tricks</A> to get the task accomplised. <i>It's always the one thing you never suspected.</i> savoc May 16, 2003 4:50:15 AM Thank you very much jlanka. Erichelps.com site were very helpful. I abandoned every DOS solutions as suggested. Script works perfectly now. Can't find your answer ? Ask ! Publish Related resources How to make AUTOSHUTDOWN batch file, when Mouse/Kb are disconnected Forum batch file will not copy needed files Forum 512kb file size limit now on nokia 6600??? WTF? Forum SolvedNeed help with batch file Forum Batch file needed to combine all subdirectories to one Forum SolvedNeed Help with a Batch File Forum I need a batch-file, to open multiple urls with Chrome/Firefox/IE8, using just the tabs? Forum Latest java BATCH FILE installer needed Forum SolvedMedia Files keep turning into 0kb folders of the same name (windows 7) Forum Need help with Batch file Forum photos stored on my wd hd are now bmp files saved at 56kb how do i increase them back to original size Forum Need help with batch file Forum SolvedBatch File creation Forum Need help with basic batch file Forum Need help with a batch file problem Forum Need Batch file that runs whenever Windows is closed! Forum Need help with batch file... Forum need to create a batch file Forum EXE Files sizes went down to 522kb . Anyone know how to fix these? Forum Solvedbatch file to change GPO Forum More resources !