Determining day, month and year on the command line is surprisingly difficult if the solution is to work across locales, i.e. on international systems with different regional settings. Although we can use the variables %DATE% and %TIME% their contents is specific to the locale. If set to German, the date is displayed in the format dd.MM.yyyy, if set to English (United States), the date format is M/d/yyyy.
Filtered articles: "WMIC"
Filtered articles: "WMIC"
Parsing Dates in Batch Files & Regional Settings / Locale |
![]() |
How to List All Installed Applications From the Command LinePublished by Helge Klein on 01/14/2010 | 13 Comments | 31,230 Views How to easily create a list of all programs and (MSI) packages installed on a system for later processing? That sounds like a simple task, and it is. Interestingly, a quick web search revealed primarily more complex solutions where a script is used to iterate through the uninstall information in the registry. That not only is far too complicated, but also inaccurate. |
![]() |
Most Viewed Posts
| 155,454 Views |
Where is the Hosts File on Windows x64?by Helge Klein (06/04/2009) |
| 83,174 Views |
Deleting a Local User Profile - Not as easy as one Might Assumeby Helge Klein (10/16/2008) |
| 53,152 Views |
Printer Driver Isolation in Windows 7 and Server 2008 R2by Helge Klein (04/08/2009) |
| 44,286 Views |
How to Reduce the Size of Roaming Profilesby Helge Klein (11/17/2008) |
| 32,177 Views |
Aufbau einer KMS Infrastrukturby Thorsten Christoffers (03/19/2009) |
Most Popular Tags
Blog Categories
64-Bit Windows (x64)
Application Delivery
Citrix
Citrix / Terminal Services / Remote Desktop Services
Community
Configuration Manager
Infrastruktur
Presentation Server / XenApp
Profile Migrator
Scripting
sepago
System Center
System Management
Terminal Services
User Profiles
Windows 7
Windows General
Windows Internals
Windows Server 2003
Windows Server 2008





