How to make list of drive contents when shutdown PC / Everything.exe

Apr 2, 2011
1,429
10
54
North Carolina, USA
I'd like to make a list of the drive contents when shutting down the PC and not sure how to do this Should be all attached local drives. And in /o:gen order. Thought maybe everything.exe might be of use here ?
 
Apr 13, 2010
302
7
61
The Hague
What kind of "list of contents" are we talking about, here? When you say "when shutting down the PC" do you mean you are shutting it down yourself or is the machine being shut-down by external parties (like automated remote shutdown in large organizations)? Without further information, and assuming you are asking for a file-listing the folowing thoughts com to mind:
- it is easy to run a batch triggered by the windows LogOff- or ShutDown event, but any process started must end quickly or run the risk of being prematurely killed by the OS.
- In most cases I've come accross it is possible to gather the data in a normal process and let it - your own program, when it's all finished - shut down the machine for you. That way there's no time pressure.
- If it's file listings you want it can be done with both everything's db and jpstree.idx but,.. why?
 
Apr 2, 2011
1,429
10
54
North Carolina, USA
I have MS and accidentally dropped an external backup drive so I was wanting a listing similar to what the following would provide:

prompt> pdir /a: /o:gen /s /(dy/m/d th:m:sd zc fpn) %@replace[ ,\* ,%_drives]

c: d: e: becomes c:\* d:\* e:\*
 
Apr 13, 2010
302
7
61
The Hague
Windows itself lauches a batch you can hitch- hike a ride on.
Change the group policy and provide a batch file that windows calls for you.
Again, you must be quick with whatever you plan to do there.
 
Apr 13, 2010
302
7
61
The Hague
I accidentally dropped an external backup drive ...

If the drive is broken, no listing can be made, obviously.
If not, you can make it at your leisure.
You have yet to explain why this should be done during shutdown.
Please provide a clear description of the problem you want to solve.
 
Apr 2, 2011
1,429
10
54
North Carolina, USA
Reason why I would like to make a filelist for all attached drives at shutdown is that I would likely change the contents of the drive/s when I use them. Could be browser cache, programming files are changed, etc.
 
Aug 23, 2010
636
9
That doesn't answer the question of why do you need it.
Also, if the process you start that way takes more than a few seconds, it will likely be killed by the shutdown sequence.
 
Similar threads
Thread starter Title Forum Replies Date
FreezerBurnt ANSI Prompt messes up list output. Support 39
Phileosophos PDIR to list filenames without extensions? Support 2
T Is there a way to maintain the position in the environment list, while debugging? Support 10
Alpengreis List command: text truncated in find box (german) Support 9
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
A List windows with titles matching given pattern? Support 2
D _USBS list misses flash drives that @USB recognizes. Support 7
Phileosophos LIST edit not invoking my specified editor Support 4
cxxl WAD Mouse movement sluggish when using TCC list Support 3
Oz Solomon Problem with "list" Support 14
P Strange mouse behavior with list Support 2
T Invalid attach tabs list Support 10
M A list of issues .. Support 17
J Documentation New help system: "skip word list" Support 11
WavSlave Fixed LIST /U not working in TCC v19 Support 5
R V19 - At startup, TCC save directory in the directory history list Support 2
C cosmetic issue with LIST's (I) Support 9
Stefano Piccardi list of TCC commands for external editors Support 4
vefatica Get a list of all files with alternate streams? Support 11
Joe Caverly LIST /T (search for Text) Support 2
Joe Caverly ListColors for LIST Support 1
M How to? List path getting short file and directory names... Support 10
C How to? List empty folders Support 21
S How to? Use wild cards in include list without duplicate processing Support 49
vefatica Fixed No text in List View! Support 4
D Folder/List view changed in v15 Support 8
S list seems to loose focus v15 Support 2
A How to? Filter history list with unicode chars Support 0
N WAD Take Command and UNCs for Folder List Support 10
S TCMD No List-View with Libraries? Support 5
M Sync folder/list view with command window? Support 2
vefatica New directory not moved to end of list Support 2
vefatica LIST and TYPE show UTF8 BOM Support 4
M Problem with the "List" command... Support 19
vefatica DO f in /L <list of file names>? Support 6
C list jpsoft file Support 2
A How to? Filter a list by numeric number within filename Support 28
M Just an out-of-curiosity question the List command vs. the @Lines function... Support 13
Dmitry L. Kobyakov Fixed The Take Command File List Panel shows 0 for all file sizes at DVD Support 4
M WAD A case where the "List" command is clearly not working at all... Support 4
Joe Caverly LIST scrollbar Support 2
R TC 13 / you forgot to list a new feature Support 2
S BDEBUGER: watch list limit? Support 4
T "L" (LIST) not working in TCC's examples.btm Support 3
rconn Suggestion list for next major version Support 0
M FFIND and LIST does not work for UTF-8 fles Support 10
D LIST command wierdness with empty Unicode file Support 1
JohnQSmith List View refresh Support 6
S Using TCC list with KatMouse Support 9
S "List" decoding problem And TCMD crash. Support 0

Similar threads