Mhz no you are wrong because these if statement are the checks, please read the script before making incorrect statements. The script will only work if that statement is true, this is better then using a send key method as this is not the best method to do this. Now if I took out the first 2 if statements then it would search for strDrive.DriveLetter & Cmd1 on your floppy drive, harddrive, cd or dvd drive. This builds the completed path to the file, which the action uses.