Articles & News
Graphics & Displays
Tom's IT Pro
Login | Sign Up
The authority on tech
Batch file needed: file size 0 < Kb?
May 14, 2003, 11:00 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?
May 16, 2003
batch file needed file size
May 14, 2003, 11:33 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>
May 16, 2003, 4:50 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 !
Get the answer
Ask a new question
How to check for a blank file
Batch file, 6 digit number that sums to given number
Keep DOS box from going away after DOS script completes?
Creating a command prompt or ms-dos batch file for joining domain.
Without open the dos using batch file
Startup Script Win2k/WinXP
Applying alt-D from within a DOS Script
User Authentication Script [Batch]
Dos batch programme cannot open a file windows 7
Login Script help
Batch file log file creation
Batch file in Windows 2000
How to run batch file without the DOS window poping up
Log off script
Batch file help!!
Batch file will not run in windowsxp
Batch file to unite txt file row into one?
Subscribe to our newsletter
icon arrow stem circle
About Tom's Hardware
Licensing and Reprints
Other Shopsavvy sites
© 2017 Purch All Rights Reserved.