Thank you but I get it . It is because of the space in /Program Files/ directory name :
There is space between Program and Files . In Unix , Spaces in file name are illegal and provoke only errors . Hence come the error "not found in archive" or " no such file or directory " to avoid this , the whole directory path should be quoted like this :
tar -zxf php_.tar.gz -C "C:/Program Files/PHP/script"
That's not quite correct - spaces in file names are NOT illegal in *nix, and they do NOT provoke only errors, but: they need to be dealt with. And, if I remember correctly (and faintly), that's not different in MS products - file names with spaces NEED to be quoted there as well!
IIRC, if you are in CygWin then the location is at:- /cygdrive/c/progra~1/php/script
OR /cygdrive/c/"program files"/php/script
Depending on the Windows version.
I don't think this path is case sensitive...
interesting . Instead of putting the whole directory between double quotes , we put only the file name in which there is the space between double quotes . Good idea