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: ForumWinXP Batch File ??? ForumRun Batch file before Windows XP loads ForumNeed Help with a Batch File Forum[SOLVED] Batch file commands not executed ForumBatch File Error Trapping ForumA program in batch file ForumBatch file to read registry ForumOutputting batch file error output ForumNeed help with basic batch file ForumMaking a batch file for a server ForumNeed Batch file that runs whenever Windows is closed! ForumBatch file needed to combine all subdirectories to one ForumParallel and com ports not appearing in device manager ForumZero size Page File Warning ForumHow to make "multiple choise" batch files Forumpaging file problem Forumcorrupted registry file ? ForumImporting a complete reg file possible under W2K? ForumPaging File Forum4Gig file limit - Any way to bypass? More resources !