Why can't perl see a file that exists in windows? -



Why can't perl see a file that exists in windows? -

on 1 of coleagues machine, if java can find it:

c:\>where java c:\windows\system32\java.exe

however, if test in perl:

c:\>perl -e "print (-e 'c:\\windows\\system32\\java.exe' ? 'found' : 'not found')" not found

(this runs fine on machine). i've heard sort of weird cache files fake-installed sort-of-work, have no thought called , nil i've googled helps.

as mentioned in comment question andrew medico, problem confusion caused running 32-bit perl.

the scheme in question had "c:\windows\system32\java.exe", did not have "c:\windows\syswow64\java.exe". able solve problem looking "c:\windows\sysnative\java.exe" if "c:\windows\system32\java.exe" did not appear exist.

i found description helpful:

http://www.samlogic.net/articles/32-64-bit-windows-folder-x86-syswow64.htm

windows perl

Comments

Popular posts from this blog

php - Edges appear in image after resizing -

ios8 - iOS custom keyboard - preserve state between appearances -

Delphi change the assembly code of a running process -