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: bhben Date: January 20, 2005 at 08:06:39 Pacific OS: Windows XP CPU/Ram: P4, 512MB
Comment:
I have a file that consists of a blank line, then either Y or N and then another blank line. I want to take this into an if statement saying if the file contains a Y then do this else do that. I've tried a few ways but i think i am getting my code a bit wrong. what's the best way to do this?
Summary: I have written a scipt that will report when a drive is down, but i finding if the status of the drive is UP, then "while read LINE" ignores the IF statement. I want the script to print the echo "Al...
Summary: I need to create an “if statement” that checks to see if variables have been sent. My “if statement” must have at least two variables sent to be valid but I also need to be able to check to se...