Thanks Rob. That worked!
Have a follow-up question though - for files over 100kb, I am getting an error:
Can't spawn "cmd.exe": No such file or directory
Looked around to see but could not find anything that works. Can you please throw some light here, please.
Thanks again.