I'm Lost Again


timlab55

Well-known member
Member
Local time
2:17 PM
Posts
189
OS
Windows 11 Pro Build by Timlab55
Inside my Picture/Screenshot I have alot of screenshots. Every time I add another screenshot, windows will add another number (counter). After I get to 10, I would like to have the counter go back to 1. How is this done?
Dan
 

My Computer My Computer

At a glance

Windows 11 Pro Build by Timlab55Intel Core i9-11900K32.0GBIntel UHD Graphics 750 (ASUStek Computer Inc)...
OS
Windows 11 Pro Build by Timlab55
Computer type
PC/Desktop
CPU
Intel Core i9-11900K
Motherboard
ASUSTeK COMPUTER INC. ROG STRIX Z590-E GAMING WIFI (LGA1200)
Memory
32.0GB
Graphics Card(s)
Intel UHD Graphics 750 (ASUStek Computer Inc) 8176MB ATI Radeon RX 5500 XT (ASUStek Computer Inc)
Sound Card
N/A
Monitor(s) Displays
ASUS VE278 (1920x1080@60Hz) VX3418-2KPC (2560x1080@60Hz) LEN C27-20 (1920x1080@75Hz)
Hard Drives
931GB SanDisk SSD PLUS 1000GB (SATA (SSD)) 34 °C
476GB SanDisk SDSSDH3512G (SATA (SSD)) 29 °C
3726GB Western Digital WDC WD4003FFBX-68MU3N0 (SATA ) 35 °C
931GB Samsung SSD 980 PRO 1TB (Unknown (SSD))
29GB Samsung Flash Drive FIT USB Device (USB )
PSU
Corsair 850W
Right click the screenshot and Rename the file and add a number,. if you want. Delete any old screenshots you don't need
 

My Computer My Computer

At a glance

Windows 11 Pro Insider 64 bit 25H2 26200.5742Intel Core i7 9700K 3.6016 GBnVidia GEForce RTX 2060 Super
OS
Windows 11 Pro Insider 64 bit 25H2 26200.5742
Computer type
PC/Desktop
Manufacturer/Model
Gigabyte Z390 UD
CPU
Intel Core i7 9700K 3.60
Motherboard
Gigabyte Z390 UD
Memory
16 GB
Graphics Card(s)
nVidia GEForce RTX 2060 Super
Sound Card
onboard
Monitor(s) Displays
Two 27" Dell 4K monitors
Screen Resolution
3840 x 2160
Hard Drives
M.2 NVME SSD, 500 GB; Two 2TB Mechanical HDD's
PSU
850w PSU
Case
Cyberpower PC
Cooling
Water cooled
Keyboard
Backlit Cyberpower gaming keyboard
Mouse
Backlit Cyberpower gaming mouse
Internet Speed
1 GB mbps
Browser
Brave
Antivirus
Windows Security
Okay (I forgot his screen name but it starts with a "B") wrote a small reg program for me.
 

My Computer My Computer

At a glance

Windows 11 Pro Build by Timlab55Intel Core i9-11900K32.0GBIntel UHD Graphics 750 (ASUStek Computer Inc)...
OS
Windows 11 Pro Build by Timlab55
Computer type
PC/Desktop
CPU
Intel Core i9-11900K
Motherboard
ASUSTeK COMPUTER INC. ROG STRIX Z590-E GAMING WIFI (LGA1200)
Memory
32.0GB
Graphics Card(s)
Intel UHD Graphics 750 (ASUStek Computer Inc) 8176MB ATI Radeon RX 5500 XT (ASUStek Computer Inc)
Sound Card
N/A
Monitor(s) Displays
ASUS VE278 (1920x1080@60Hz) VX3418-2KPC (2560x1080@60Hz) LEN C27-20 (1920x1080@75Hz)
Hard Drives
931GB SanDisk SSD PLUS 1000GB (SATA (SSD)) 34 °C
476GB SanDisk SDSSDH3512G (SATA (SSD)) 29 °C
3726GB Western Digital WDC WD4003FFBX-68MU3N0 (SATA ) 35 °C
931GB Samsung SSD 980 PRO 1TB (Unknown (SSD))
29GB Samsung Flash Drive FIT USB Device (USB )
PSU
Corsair 850W
After I get to 10, I would like to have the counter go back to 1. How is this done?
You would have to reset the index manually with a reg file...

Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"ScreenshotIndex"=dword:00000001
 

My Computers My Computers

  • At a glance

    Windows 11 Pro
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS ROG Strix
  • At a glance

    Windows 11 Pro
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
Probably @Brink
He has written most of the Tutorials here
Have you searched the extensive Tutorials here for an answer?
 

My Computer My Computer

At a glance

Windows 11 Pro Insider 64 bit 25H2 26200.5742Intel Core i7 9700K 3.6016 GBnVidia GEForce RTX 2060 Super
OS
Windows 11 Pro Insider 64 bit 25H2 26200.5742
Computer type
PC/Desktop
Manufacturer/Model
Gigabyte Z390 UD
CPU
Intel Core i7 9700K 3.60
Motherboard
Gigabyte Z390 UD
Memory
16 GB
Graphics Card(s)
nVidia GEForce RTX 2060 Super
Sound Card
onboard
Monitor(s) Displays
Two 27" Dell 4K monitors
Screen Resolution
3840 x 2160
Hard Drives
M.2 NVME SSD, 500 GB; Two 2TB Mechanical HDD's
PSU
850w PSU
Case
Cyberpower PC
Cooling
Water cooled
Keyboard
Backlit Cyberpower gaming keyboard
Mouse
Backlit Cyberpower gaming mouse
Internet Speed
1 GB mbps
Browser
Brave
Antivirus
Windows Security
I just woke up. So I might be giving you a recepie for Cheesecake. But you could incorporate this tutorial into a script and schedule, maybe? Let me have 6 more coffees.

 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    OS
    Windows 11 Pro 25H2 Build 26200.8655
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard thingy
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / Mx Air Cordless
    Internet Speed
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655Intel Core 12th Gen i5-1240P Processor (1.7 -...16GB LPDDR5 RAMIntel Iris Xe Graphics Processor
    Operating System
    Windows 11 Pro 25H2 Build 26200.8655
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.
Save this .bat
@echo off
setlocal enabledelayedexpansion

:: Set your screenshot folder path here
set "screenshotFolder=C:\Users\YourName\Pictures\Screenshots"

:: Count files starting with 'screenshot' and ending with .png
set count=0
for %%f in ("%screenshotFolder%\screenshot*.png") do (
set /a count+=1
)

:: If there are 10 or more, rename them
if %count% GEQ 10 (
echo More than 10 screenshots found. Renaming...

set letters=b c d e f g h i j k l
set i=0

for %%f in ("%screenshotFolder%\screenshot*.png") do (
for %%a in (!letters!) do (
if !i! LSS 10 (
ren "%%f" "screenshot1%%a.png"
set /a i+=1
goto :break_inner
)
)
:break_inner
)
)
Then set up task scheduler to execute it.
Create new task, name it, set desired trigger,
Start a program
Program/script: cmd.exe
Add arguments: /c "C:\Path\To\ResetScreenshotCount.bat"
 

My Computer My Computer

At a glance

Windows 11 Pro
OS
Windows 11 Pro
I just woke up. So I might be giving you a recepie for Cheesecake. But you could incorporate this tutorial into a script and schedule, maybe? Let me have 6 more coffees.

I'd like to have that recipe for Cheesecake though.
 

My Computer My Computer

At a glance

Win 11 Insider Release Preview and Beta chann...i5 Core [email protected] (Unsupported for Win 11)12GBGeneric PnP Monitor (1920x1080@60Hz) Intel HD...
OS
Win 11 Insider Release Preview and Beta channels.
Computer type
Laptop
Manufacturer/Model
HP ENVY Bought: March 2017
CPU
i5 Core [email protected] (Unsupported for Win 11)
Motherboard
HP 81AD (U3E1)
Memory
12GB
Graphics Card(s)
Generic PnP Monitor (1920x1080@60Hz) Intel HD Graphics 620 (HP)
Sound Card
Conexant ISST audio
Monitor(s) Displays
Generic PnP Monitor
Screen Resolution
1536x864 pixels
Hard Drives
HGST HTS721010A9E630
PSU
Well...PSU you too!! What's this mean?
Case
HP ENVY SILVER
Cooling
A fan.
Keyboard
USA
Mouse
Logitec Anywhere 2
Internet Speed
Good enough for me! Fast!
Browser
Edge/Waterfox
Antivirus
Windows Defender
Other Info
No 'mo.
for %%f in (...) loop issue?


Batch:
@echo off
setlocal enabledelayedexpansion

:: Set your screenshot folder path here
set "screenshotFolder=%USERPROFILE%\Pictures\Screenshots"

:: Count screenshots
set count=0
for %%f in ("%screenshotFolder%\screenshot*.png") do (
    set /a count+=1
)

:: If 10 or more screenshots exist, delete or rename them and reset index
if !count! GEQ 10 (
    echo Found !count! screenshots. Resetting...

    :: Optional: delete old screenshots
    del /q "%screenshotFolder%\screenshot*.png"

    :: Reset the ScreenshotIndex in registry to 1
    REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /V ScreenshotIndex /T REG_DWORD /D 1 /F

    echo Screenshot index reset to 1.
) else (
    echo Only !count! screenshots found. No reset needed.
)

I'd like to have that recipe for Cheesecake though.

I actually have one somewhere from mum. Will sort it.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    OS
    Windows 11 Pro 25H2 Build 26200.8655
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard thingy
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / Mx Air Cordless
    Internet Speed
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655Intel Core 12th Gen i5-1240P Processor (1.7 -...16GB LPDDR5 RAMIntel Iris Xe Graphics Processor
    Operating System
    Windows 11 Pro 25H2 Build 26200.8655
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.

Latest Support Threads

Back
Top Bottom