Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Cinnamoroll Soft Toy – Cute & Cuddly Plush
anil1961
Updated:
Yesterday at 4:59 AM
Google Pixel 9 Pro
vgp
Updated:
Thursday at 5:57 PM
Ad icon
Jobreceive.com for sale
Blogerwiki
Updated:
Sep 29, 2026
Post Your Vehicle for Sale — FREE! - https://libro.lk
Kalu_Puth
Updated:
Sep 29, 2026
ඔයාගෙ Assignment හෝ Thesis එක හරියට හදාගමු
ErMurazor
Updated:
Sep 26, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
IT වැඩ්ඩො එන්න
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="LZP1992" data-source="post: 30752607" data-attributes="member: 498630"><p>Save as "script.bat" and run this</p><p></p><p>[CODE]</p><p>@echo off</p><p>setlocal enabledelayedexpansion</p><p></p><p>REM --- Configuration ---</p><p>set "OutputFile=Installed_Software_Report_%date:~-4,4%%date:~-10,2%%date:~-7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.csv"</p><p>echo Generating CSV report: %OutputFile%</p><p>echo.</p><p></p><p>REM --- Header for the CSV file ---</p><p>(</p><p> echo "Display Name","Install Date"</p><p>) > "%OutputFile%"</p><p></p><p>REM --- Registry paths to check ---</p><p>set "RegPaths[0]=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"</p><p>set "RegPaths[1]=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"</p><p>REM Add more paths if needed, e.g., for HKCU:</p><p>REM set "RegPaths[2]=HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"</p><p>REM set "RegPaths[3]=HKCU\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"</p><p></p><p>REM --- Process each registry path ---</p><p>for /L %%N in (0,1,1) do (</p><p> if defined RegPaths[%%N] (</p><p> set "CurrentRegPath=!RegPaths[%%N]!"</p><p> echo Processing: !CurrentRegPath!</p><p></p><p> REM Iterate through each subkey under the Uninstall key</p><p> for /f "delims=" %%K in ('reg query "!CurrentRegPath!" 2^>nul') do (</p><p> set "KeyName=%%K"</p><p> set "DisplayName="</p><p> set "InstallDate=N/A"</p><p></p><p> REM Check if it's a valid subkey (not the root path itself)</p><p> if not "!KeyName!"=="!CurrentRegPath!" (</p><p></p><p> REM Get DisplayName</p><p> for /f "tokens=2,*" %%A in ('reg query "!KeyName!" /v DisplayName 2^>nul ^| findstr /R /C:"DisplayName"') do (</p><p> set "DisplayName=%%B"</p><p> )</p><p></p><p> REM Get InstallDate</p><p> for /f "tokens=2,*" %%A in ('reg query "!KeyName!" /v InstallDate 2^>nul ^| findstr /R /C:"InstallDate"') do (</p><p> set "RawInstallDate=%%B"</p><p> REM Attempt to format YYYYMMDD to YYYY-MM-DD if it looks like it</p><p> if "!RawInstallDate:~8,1!"=="" if "!RawInstallDate:~4,1!" NEQ "-" if "!RawInstallDate:~4,1!" NEQ "/" (</p><p> set "InstallDate=!RawInstallDate:~0,4!-!RawInstallDate:~4,2!-!RawInstallDate:~6,2!"</p><p> ) else (</p><p> set "InstallDate=!RawInstallDate!"</p><p> )</p><p> )</p><p></p><p> REM If DisplayName exists and doesn't look like a Windows Update KB</p><p> if defined DisplayName (</p><p> echo !DisplayName! | findstr /R /C:"KB[0-9][0-9][0-9][0-9][0-9][0-9]*" >nul</p><p> if errorlevel 1 (</p><p> echo !DisplayName! | findstr /R /C:"Update for Microsoft" >nul</p><p> if errorlevel 1 (</p><p> REM Clean quotes from DisplayName before wrapping, just in case</p><p> set "CleanDisplayName=!DisplayName:"=!"</p><p> set "CleanInstallDate=!InstallDate:"=!"</p><p> </p><p> (echo "!CleanDisplayName!","!CleanInstallDate!") >> "%OutputFile%"</p><p> )</p><p> )</p><p> )</p><p> )</p><p> )</p><p> )</p><p>)</p><p></p><p>endlocal</p><p>pause</p><p>[/CODE]</p><p></p><p>This is a chatgpt generated <img class="smilie smilie--emoji" loading="lazy" alt="💪" title="Flexed biceps :muscle:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f4aa.png" data-shortname=":muscle:" /></p></blockquote><p></p>
[QUOTE="LZP1992, post: 30752607, member: 498630"] Save as "script.bat" and run this [CODE] @echo off setlocal enabledelayedexpansion REM --- Configuration --- set "OutputFile=Installed_Software_Report_%date:~-4,4%%date:~-10,2%%date:~-7,2%_%time:~0,2%%time:~3,2%%time:~6,2%.csv" echo Generating CSV report: %OutputFile% echo. REM --- Header for the CSV file --- ( echo "Display Name","Install Date" ) > "%OutputFile%" REM --- Registry paths to check --- set "RegPaths[0]=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" set "RegPaths[1]=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" REM Add more paths if needed, e.g., for HKCU: REM set "RegPaths[2]=HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" REM set "RegPaths[3]=HKCU\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" REM --- Process each registry path --- for /L %%N in (0,1,1) do ( if defined RegPaths[%%N] ( set "CurrentRegPath=!RegPaths[%%N]!" echo Processing: !CurrentRegPath! REM Iterate through each subkey under the Uninstall key for /f "delims=" %%K in ('reg query "!CurrentRegPath!" 2^>nul') do ( set "KeyName=%%K" set "DisplayName=" set "InstallDate=N/A" REM Check if it's a valid subkey (not the root path itself) if not "!KeyName!"=="!CurrentRegPath!" ( REM Get DisplayName for /f "tokens=2,*" %%A in ('reg query "!KeyName!" /v DisplayName 2^>nul ^| findstr /R /C:"DisplayName"') do ( set "DisplayName=%%B" ) REM Get InstallDate for /f "tokens=2,*" %%A in ('reg query "!KeyName!" /v InstallDate 2^>nul ^| findstr /R /C:"InstallDate"') do ( set "RawInstallDate=%%B" REM Attempt to format YYYYMMDD to YYYY-MM-DD if it looks like it if "!RawInstallDate:~8,1!"=="" if "!RawInstallDate:~4,1!" NEQ "-" if "!RawInstallDate:~4,1!" NEQ "/" ( set "InstallDate=!RawInstallDate:~0,4!-!RawInstallDate:~4,2!-!RawInstallDate:~6,2!" ) else ( set "InstallDate=!RawInstallDate!" ) ) REM If DisplayName exists and doesn't look like a Windows Update KB if defined DisplayName ( echo !DisplayName! | findstr /R /C:"KB[0-9][0-9][0-9][0-9][0-9][0-9]*" >nul if errorlevel 1 ( echo !DisplayName! | findstr /R /C:"Update for Microsoft" >nul if errorlevel 1 ( REM Clean quotes from DisplayName before wrapping, just in case set "CleanDisplayName=!DisplayName:"=!" set "CleanInstallDate=!InstallDate:"=!" (echo "!CleanDisplayName!","!CleanInstallDate!") >> "%OutputFile%" ) ) ) ) ) ) ) endlocal pause [/CODE] This is a chatgpt generated 💪 [/QUOTE]
Insert quotes…
Verification
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom