Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Checking File Size  (Read 5542 times)

0 Members and 1 Guest are viewing this topic.

Dave Schappaugh

  • Guest
Checking File Size
« 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?