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 Rhinorhino 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.
Joined
Jul 18, 2001
Messages
68
Location
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!!
 
Better off posting in VBScript forum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top