Home / Microsoft / Microsoft DOS / Checking File Size
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Checking File Size  (Read 1724 times)
Dave Schappaugh
Guest
« on: October 25, 2004, 10:19:18 AM »

I need to write a batch file that goes out, checks the size of a file (ie asjob.txt) and determines whether or not this is a 0k file or not, If the file is 0k it should goto the next check, if it is 1k or more it should execute a psservice/stop command.

I would appreciate if someone can give me a hand in checking the filesize and using it in either an if then goto command?
IP logged
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / Checking File Size « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.075 seconds with 18 queries.