Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: "Porting" scripts to Win32

by thunders (Priest)
on Feb 20, 2004 at 14:04 UTC ( #330539=note: print w/replies, xml ) Need Help??


in reply to "Porting" scripts to Win32

Typically \WINNT\Temp is availible for Windows NT/2000/XP. I think Windows 95/98/ME have a \Windows\Temp folder. To figure out exactly which version of windows you are on, you'll need to check the registry or use Win32::GetOSVersion()

Replies are listed 'Best First'.
Re: Re: "Porting" scripts to Win32
by Anonymous Monk on Feb 21, 2004 at 00:24 UTC
    Typically \WINNT\Temp is availible for Windows NT/2000/XP.
    No. Windows XP uses c:\WINDOWS for the Windows directory by default, not c:\WINNT. And you probably don't want to hardcode the default, so rely on %WINDIR%.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://330539]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2016-10-01 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (6 votes). Check out past polls.