yup, check out the sysinfo task. that should populate the sys.env.* properties, where * corresponds to your enironment variables.
--b ----- Original Message ----- From: Damon Allison To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 4:22 PM Subject: [Nant-users] Environment variables Hello all, Hopefully a very simple question. I am wondering: Can I read environment variables from within an nant file? The reason I ask is because we have developers with different source directories. I was thinking if each set the environment variable to the root of their source tree, I could write nant scripts that are universal across machines. Any ideas on other methods to solve this problem are appreciated. Thanks, Damon ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users