X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_40,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <498870ED.1060103@veritech.com> Date: Tue, 03 Feb 2009 11:29:33 -0500 From: "Lee D. Rothstein" User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Cygwin Tech List Subject: Solution?: Saving Dates in Cygwin/Windows with hibernating PCs Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000003, version=1.0.1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I read with interest the problems with getting good time stamps from modern PC Systems that hibernate. I've been working on a different problem, and it occurs to me that a utility of Windows can be used to solve this problem, if you don't mind doing it in a non-GNUish way. There's a console program called 'setx' that comes with Windows XP/Vista, that allows you to make a "permanent" change to the Windows System or User environment variables, as if you had used: Control Panel / System / Advanced System Settings / Advanced / Environment Variables / System Variables | User Variables /