Subj : Daynbr To : Paul Quinn From : mark lewis Date : Tue Aug 28 2012 11:47 am ml> FWIW: everything, other than the new coding of an app for this, is ml> all 16bit stuff... everything in BATPOWER that might help you seems ml> to be but it is possible that i've overlooked something... PQ> Just a guess... I think the poor fellow is having trouble with the PQ> so-called 'advanced' version of Windows, on the loose these days. PQ> Any old DOS tools that might have set/changed a DOS %envar% no PQ> longer works. There is a way around it... yep... even if the tool does nothing but to emit the DoY number... eg: @echo off echo checking the DoY... echo set doy=>doy.bat whatdoy>>doy.bat echo setting the DoY... call doy.bat echo the current DoY is %doy :end that should still work... the key factor being that the output from the ficticious whatdoy tool is written to stdout so that it can be redirected to the .bat file which is called later... of course, one might also look at what might be done with the winwhatever scripting stuff... i've always had a large central main controlling .BAT file... in my environment, it could be converted to REXX which is another scripting language available on my system... i would imagine that winwhatever's scripting stuff should be able to do the same? what's it called? VBS? )\/(ark * Origin: (1:3634/12) .