Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.os.windows-10 > #181589
| From | Marion <marion@facts.com> |
|---|---|
| Newsgroups | alt.comp.os.windows-10 |
| Subject | Re: Searching for files |
| Date | 2025-01-20 03:38 +0000 |
| Organization | BWH Usenet Archive (https://usenet.blueworldhosting.com) |
| Message-ID | <vmkggf$bgb$1@nnrp.usenet.blueworldhosting.com> (permalink) |
| References | <btqnoj56t1kndgg64ou8eafr1qc79im11f@4ax.com> <vmh3rc$14d7c$1@dont-email.me> |
On Sat, 18 Jan 2025 21:44:27 +0100, Herbert Kleebauer wrote :
> dir /b /s /a-d d:\*.* >list.txt
>
> Then use an editor to search in list.txt
I use "salonb" but it's the same strategic approach as Herbert's:
C:\> dir /s/a/l/on/b c:\*.* > salonb_20250119.txt
What would be nice is a script that runs once a day to archive the list.
Maybe something like (untested) this?
@echo off
REM salonb lists every file found on your drive
setlocal
:: Get current date
for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (
set year=%%c
set month=%%b
set day=%%a
)
:: Format date for filename (YYYYMMDD)
set date_formatted=%year%%month%%day%
:: Run salonb
dir /s/a/l/on/b c:\*.* > salonb_%date_formatted%.log
endlocal
Then, in gvim, you can search salonb_{date}.log using regular expressions.
Maybe folks can improve it to ask what you want it to list & search for?
Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Searching for files Steve Hayes <hayesstw@telkomsa.net> - 2025-01-18 20:06 +0200
Re: Searching for files D <noreply@mixmin.net> - 2025-01-18 18:47 +0000
Re: Searching for files Steve Hayes <hayesstw@telkomsa.net> - 2025-01-20 08:32 +0200
Re: Searching for files Paul <nospam@needed.invalid> - 2025-01-20 04:45 -0500
Re: Searching for files D <noreply@mixmin.net> - 2025-01-20 13:19 +0000
Re: Searching for files Newyana2 <newyana@invalid.nospam> - 2025-01-20 08:45 -0500
Re: Searching for files "Allan Higdon" <allanh@vivaldi.net> - 2025-01-20 09:29 -0600
Re: Searching for files Newyana2 <newyana@invalid.nospam> - 2025-01-20 13:33 -0500
Re: Searching for files "Allan Higdon" <allanh@vivaldi.net> - 2025-01-20 14:01 -0600
Re: Searching for files Paul <nospam@needed.invalid> - 2025-01-20 15:45 -0500
Re: Searching for files Newyana2 <newyana@invalid.nospam> - 2025-01-18 13:56 -0500
Re: Searching for files Michael Logies <logies@t-online.de> - 2025-01-18 19:58 +0100
Re: Searching for files Nil <rednoise9@rednoise9.invalid> - 2025-01-18 14:01 -0500
Re: Searching for files VanguardLH <V@nguard.LH> - 2025-01-19 00:50 -0600
Re: Searching for files Steve Hayes <hayesstw@telkomsa.net> - 2025-01-20 08:34 +0200
Re: Searching for files VanguardLH <V@nguard.LH> - 2025-01-20 06:16 -0600
Re: Searching for files Nil <rednoise9@rednoise9.invalid> - 2025-01-22 19:57 -0500
Re: Searching for files Paul <nospam@needed.invalid> - 2025-01-22 23:49 -0500
Re: Searching for files Steve Hayes <hayesstw@telkomsa.net> - 2025-02-21 03:18 +0200
Re: Searching for files Nil <rednoise9@rednoise9.invalid> - 2025-02-24 13:50 -0500
Re: Searching for files Graham J <nobody@nowhere.co.uk> - 2025-02-24 22:01 +0000
Re: Searching for files Paul <nospam@needed.invalid> - 2025-02-24 18:34 -0500
Re: Searching for files Steve Hayes <hayesstw@telkomsa.net> - 2025-02-25 05:39 +0200
Re: Searching for files GlowingBlueMist <zapbot@truely.invalid> - 2025-02-25 17:16 -0600
Re: Searching for files Steve Hayes <hayesstw@telkomsa.net> - 2025-02-26 10:30 +0200
Re: Searching for files ...w¡ñ§±¤ñ <winstonmvp@gmail.com> - 2025-02-25 11:49 -0700
Re: Searching for files Paul <nospam@needed.invalid> - 2025-02-25 22:39 -0500
Re: Searching for files Steve Hayes <hayesstw@telkomsa.net> - 2025-02-26 06:02 +0200
Re: Searching for files Paul <nospam@needed.invalid> - 2025-02-26 00:32 -0500
Re: Searching for files knuttle <keith_nuttle@yahoo.com> - 2025-01-18 14:30 -0500
Re: Searching for files Hank Rogers <Hank@nospam.invalid> - 2025-01-18 13:49 -0600
Re: Searching for files "R.Wieser" <address@is.invalid> - 2025-01-18 21:39 +0100
Re: Searching for files Herbert Kleebauer <klee@unibwm.de> - 2025-01-18 21:44 +0100
Re: Searching for files Marion <marion@facts.com> - 2025-01-20 03:38 +0000
Re: Searching for files Paul <nospam@needed.invalid> - 2025-01-18 18:00 -0500
Re: Searching for files Anton Shepelev <anton.txt@gmail.moc> - 2025-01-19 02:10 +0300
Re: Searching for files Paul in Houston TX <Paul@Houston.Texas> - 2025-01-18 18:17 -0600
Off-topic: X-No-Archive header (was: Searching for files) VanguardLH <V@nguard.LH> - 2025-01-19 01:00 -0600
Re: Off-topic: X-No-Archive header Marion <marion@facts.com> - 2025-01-20 03:22 +0000
Re: Off-topic: X-No-Archive header "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-01-20 09:13 +0000
Re: Off-topic: X-No-Archive header (was: Searching for files) Steve Hayes <hayesstw@telkomsa.net> - 2025-01-20 09:00 +0200
Re: Off-topic: X-No-Archive header VanguardLH <V@nguard.LH> - 2025-01-20 06:31 -0600
Re: Searching for files wasbit <wasbit@nowhere.com> - 2025-01-19 09:36 +0000
Re: Searching for files Newyana2 <newyana@invalid.nospam> - 2025-01-19 08:29 -0500
Re: Searching for files Michael Logies <logies@t-online.de> - 2025-01-19 17:48 +0100
Re: Searching for files Frank Slootweg <this@ddress.is.invalid> - 2025-01-19 11:05 +0000
Re: Searching for files Paul <nospam@needed.invalid> - 2025-01-19 08:43 -0500
Re: Searching for files Ken Blake <Ken@invalid.news.com> - 2025-01-19 09:43 -0700
Re: Searching for files knuttle <keith_nuttle@yahoo.com> - 2025-01-19 14:06 -0500
Re: Searching for files Paul <nospam@needed.invalid> - 2025-01-19 15:12 -0500
Re: Searching for files Steve Hayes <hayesstw@telkomsa.net> - 2025-01-20 08:57 +0200
Re: Searching for files Paul <nospam@needed.invalid> - 2025-01-20 05:37 -0500
Re: Searching for files Steve Hayes <hayesstw@telkomsa.net> - 2025-01-20 17:50 +0200
Re: Searching for files Paul <nospam@needed.invalid> - 2025-01-20 14:09 -0500
csiph-web