Echo IF statement

J

JC

Here is a snippet I need to Echo,

The problem is it is running it as an if/then statement, any ideas around
this, thanks!!
 
P

Phil Robyn [MVP]

JC said:
Here is a snippet I need to Echo,




The problem is it is running it as an if/then statement, any ideas around
this, thanks!!

To what does the first 'it' refer?

Remember, the caret '^' is your friend. :)
 
J

JC

I just need it to echo the 'If iRC <> 0 Then' exactly the way it looks, what
I do is echo these comands out to a VBS then execute the VBS file.

Thanks!
 
P

Phil Robyn [MVP]

JC said:
That was it, thank you so much, what does the '<' or '>' do?

What does '<>' do in VBS? Or what do '<' and '>' do in CMD?

(That's a lot of 'do do' ;-))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

task scheduler tâches 1
Echo does not return variables 0
Sluggish Alexa Response 6
Amazon Echo coming to Europe 1
redirect 4
if else 8
Findstr and Bmail 1
How to echo the string "command" into a file? 11

Top