Thanks for ur reply....
But i'm getting error...

if i give c:\User\Desktop\program.exe
the error msg will be---> The system cannot find the path specified.

if i give c:\User\Desktop\program
the error msg will be--->
'singleFile' is not recognized as an internal or external command,
operable program or batch file.

Please tell me whats wrong here?