Hi all, How to set condition for the following: i am reading a dir by using ls command. if files with extension .dsp file or extension .vbp file is not there in folder u add it to folder and sendmail i.e ok. if file with extension .dsp is there and file with extension .vbp is added to folder it should die. similarly if file with extension .vbp is there and file with extension .dsp is added to source control it should die; regards jav