Can I get the output from NOW into an Environment Variable?
Yes, you can get the output from NOW into the environment for use within batch file or system settings. Here is a small example batch file that will work on Windows NT, 2000, 2003, XP, Vista and 2008.
rem *** Get the date and stash it in Date.txt
now yyyy-mm-dd > date.txt
rem *** Walk through and store it in the variable %date%
FOR /F " tokens=1 " %%i in (date.txt) do set date=%%i
At this point you can use the %date% variable fom the Environment to do whatever you want! Pretty cool, eh?