Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need quick 2003 batch file

Status
Not open for further replies.
Jul 18, 2001
68
US
Hello Experts!

I need a quick batch file syntax to check a file size and then execute a command..

psuedocode..

if <filename> > 1 byte

execute command with parameter.

else.

exit.

endif.

Many thanks!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top