ZTree.com  | ZEN  | About...  

 Index   Back

This "psexec" method has another advantage...   [Tip]

By: Bill Kingsbury       
Date: Dec 15,2014 at 14:34
In Response to: This "psexec" method has another advantage... (Liviu)

> > I wonder how to write a batch file to copy the "hidden" Chkdsk log files
> > from - C:\System Volume Information\Chkdsk\ - to a non-protected location?
> You can run 'psexec -s -i cmd.exe' (at an elevated prompt if vista+)
> to open a cmd prompt running as SYSTEM - then execute whatever commands,
> batch files etc.
> Or, for a one-liner, something like this:
> psexec -s -i xcopy /I "C:\System
> Volume Information\chkdsk" "%temp%\chkdsk.%time::=_%"

Yes, Liviu, that works very well.

I'm puzzled by the name of the resulting "Chkdsk Log" directory:


18:29 is the hour and minute the directory was created -- however Alt-Info shows that was at 18:29:47 (h,m,s) -- instead of the 18:29:24 that's (apparently) seen in the directory's name.

So, what does "24.62" refer to?


Thread locked

Messages in this Thread

95,067 Postings in 11,984 Threads, 350 registered users, 53 users online (0 registered, 53 guests)
Index | Admin contact |   Forum Time: Aug 7, 2020 - 10:49 am EDT  |  Hits:32,930,543  (13,584 Today )
RSS Feed