in reply to Quickest way to locate System32 Dir?

Don't do that.
perl -le"die $ENV{WINDIR}" E:\WINNT at -e line 1.
update:
perl -le"die $ENV{SYSTEMROOT}" E:\WINNT at -e line 1.
update: I don't know what you are talking about l3nz, WINDIR is my first suggestion, and I'm not using either.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Why not?
by l3nz (Friar) on Jan 15, 2004 at 09:03 UTC
    Why don't you use WINDIR? it's the standard magic variable windows uses when creating a link, for instance.