environment fingerprint

J

Jabba Laci

Hi,

I have a script that I want to run in different environments: on
Linux, on Windows, on my home machine, at my workplace, in virtualbox,
etc. In each environment I want to use different configurations. For
instance the temp. directory on Linux would be /tmp, on Windows
c:\temp, etc. When the script starts, I want to test the environment
and load the corresponding config. settings. How to get an
OS-independent fingerprint of the environment?

Thanks,

Laszlo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top