I need to be able to check a files filesize, and then do an if statement in a batch file
e.g. if file < 20KB start notepad, if > 20KB start wordpad
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Edit: The %~z syntax only works for parameters and FOR loops, for a hardcoded name you can use a helper function: