Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
IF Statement
Name: AJ (by William Jimenez) Date: October 31, 2008 at 06:57:58 Pacific OS: XP SP2 CPU/Ram: Dell
Comment:
Is is possible to write an IF statement that will perform multiple tasks?
For expample IF somefile EXIST (COPY the file to an alternate location and rename the file and xxx and xxx)
basically if something is true do multiple things.
Summary: A is OK except that the ; after the last ) means that there is no 'true' action for the if statement. B would work only if you (or someone) wrote the function 'upper()'. 'upper()' is not a normal C/...
Summary: I am using WinXP. I have a batch file that runs on every startup but I would like it to run only on a certain day of the week. I am trying to use if statements to check the date, but the %date% variab...