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 s...
Summary: Hi, Is it possible to have 2 or more commands in the "do something" portion of the if statement? The if statement goes if (condition) command Is it po...
Summary: >> if ( `echo $?` -eq 0) ahemm... sure both of you do not want to use square brackets? ;-) all these are possible: if [ `echo $?` -eq 0 ] ... ...
Summary: Hi, Can i use the if statement as follows... I mean can i use brackets as follows... I want to know the syntax of if statement to execute some set of ...
Summary: Iam facing a problem in Switch statement. The problem is that i will ask to integer from the user & if the user want to "+" , "-" or "*" operator the...
Summary: I am trying to write a script that when i type in somthing it will goto a specific peice of code. I have the goto part worked out by itself but when i...
Summary: How can I use the output of sc query "service" | find /I "STATE to set a variable in an if statement? I basically want it to do this sc query "servic...
Summary: hello friends, i am hoping someone here can offer me some help. I have the following command. tasklist /FI "IMAGENAME eq outlook.exe" /FO CSV > C:\tem...
Summary: Hello, I can't believe I didn't think to ECHO the info as Razor2.3 noted. What I discovered is that I am getting a space after the volume name that i...
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...
Summary: HI i have a char array and i want to do an if statement heres what i tried char cheese[80]; // do stuff here if (cheese == "dude") { // stuff here } w...
Summary: 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 r...
Summary: Here is a code: I read a properties "connectionType" from file and asiign to R1 Then I print it and I see that this is "rmi" But when I try to evalua...
Summary: @NoIdea, in my opinion that is just what qualifies the post as homework; the question looks like an exercise about AND/OR clause in if statements. So ...
Summary: Sorry, but I am not going to be able to help you much since I am not familar with ypcat and snmpget. but I see a lot of syntax problems: 1) If the t...
Summary: Hi, I want to write a code in batch file. It is like if else statement. There are two variables. Writing in usual language Say Complete=244,Fail=0 if ...
Summary: The tables definitly exist, not only can I see them in Access as linked tables, if I state the table name in the ADO statement rather than SQL, it wor...
Summary: i think you can just split code for this into another if statement .. maybe i'm missing soemthing if the variable is correct branch into the code to h...
Summary: I feel silly for asking this, but.. how do I round up decimals in C? My textbook asks me to use numbers rounded to 2 decimal places for my current pr...
Summary: Create a form to load for a split second when your program runs. In the general declarations section type in Randomize. Write a function to run when t...
Summary: Hi, I hope you can answer me today... anyways... The thing is this: in an IF statement, how can you do this: if(code = 'P')or*(code - 'p') what is the...
Summary: Hello every1!! :D OK, what I need now is to make a text editor for a programming language (which I'm not telling so nobody copies me... :P ) in a Rich...
Summary: Yea, so I'm out of school now and when we did ASP in my class it was at the beginning of the school year so i'm not remembering how to do this or if w...