Hi, I am getting a path from variable $ja,if i print $ja i get: M:\jav_test\ADT\View_Controller_VB\SDKComponents\ADTModel Note: this path varies everytime.
$file=`ls $ja`; If i excute above statement ,In the directory ADTModel, i get a list of files,i have to grep for files with extension(.dsp and .vbp) in this folder,if files with this extension exist i should quit with print message "proj already exist" else i should be able to sendmail. What is the regular expression? TIA jav