Hi everybody, I am chaitanya, I want the syntax of a particular command. Let me explain my problem.
I have two files located in two different directories. I want to check the existence of those two files. If those two files exist in the specified location "hi" should be echoed else the prompt should echo bye.
It should look some thing like this:
if exist c:\play.wav c:\lyrics\play.txt ( echo hi ) else ( echo bye ). I tried this but failed. I am able to check the existence if one file at a time. I want the command to be executed if those two files exist.
Can anybody please help me?
Thank you all in advance.