|
Answer» Hi
I will explain my problem with the command itself. Whenever i give a command comp filename1 filename2
The out put is :
Comparing filename1 and filename2... Files are different sizes.
Compare more files (Y/N) ?
I want to give a Y/N using batch file itself.How can this be done? I am using:Microsoft Windows XP [VERSION 5.1.2600] TRY this Echo N|comp filename1 filename2
The | symbol sends the output of the first command (Echo N) as input to the SECOND (the Comp command)
GrahamThanx a ton graham.. i dont know if this is the right solution ..but it is working great for me .. thanks again ..
|