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:

chkdsk.18_29_24.62

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?


Bill

540 views      
Thread locked
 

Messages in this Thread

 
94,590 Postings in 11,932 Threads, 348 registered users, 19 users online (2 registered, 17 guests)
Index | Admin contact |   Forum Time: Nov 20, 2019 - 11:31 am EST  |  Hits:29,198,059  (11,300 Today )
RSS Feed