Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Tracking Kazaa?by ergowolf (Monk) |
on May 20, 2003 at 21:02 UTC ( [id://259578]=note: print w/replies, xml ) | Need Help?? |
ANonymous: "If you are running this on a Win32 system, then you might try doubling the forward slashes. if (-e "////$_//c$//Program Files//KaZaA Lite//kazaa.exe") { I had a similar problem with this. Cheers" "//$_/c$/Program Files/KaZaA Lite/kazaa.exe" you probably need to escape the second $ as it's being interpreted as the variable $/." Thanks for the suggestion. It didn't seem to have an impact. talexb: "What do you expect this code to do? or, What is your definition of 'works'? or, How do you know that it is failing?" The script shows every machine as not having Kazaa installed and I know several do. I want the program to accurately show who has kazaa installed. Michelle: "By the way, you should probably use something like File::Find to traverse the entire directory tree of each machine's hard disk(s). As with almost every other program, the user can decide where to install Kazaa, so you shouldn't look only in the default location. ;)" My users aren't very smart. I think just looking at default locations will catch most of what i am looking for.
In Section
Seekers of Perl Wisdom
|
|