Find the Total Execution Time of a Command or Program in Windows

measure total execution time of a command or program

You may sometimes want to to find the total execution time of a command or program you run. To optimize a script or program, it’s essential to know how long does it take for it to complete execution. This helps you compare the total run time of Program A vs. Program B and optimize your code, especially if you’re a professional software developer, analyst, or software tester.

Measuring the total execution time of a script or process is one of the most critical aspects of performance optimization. This article discusses various methods to find the total execution time of a program, script, or command in Windows.

Read more

Turn Off Monitor Using Shortcut or Command-line in Windows

samsung monitor jog button

My new Samsung Curved monitor has the power button on the rear end, perhaps for aesthetic purposes. I have been using monitors that have controls on the front or underneath the bezel all these years. Now, with the new monitor, I find it a little bit inconvenient to reach out to the button on the backside every time I need to turn off or turn on the display.Read more

Taskbar Volume Control Icon does not Work in Windows 10/11

Sometimes, the Taskbar volume control icon in Windows may not respond to the mouse click. The slider doesn’t appear when you click on the speaker icon, and nothing happens when you right-click on it. The audio may still work in all applications, but only the controls don’t open. Due to this, users have to open sndvol.exe from the Run dialog to open the Volume Mixer and control the sounds.

This post explains how to fix the volume control (speaker) icon in Windows 10 and Windows 11.Read more

File System Error (-2147219196) in Photos or Other Store Apps

photos app file system error 2147219196

With the Photos app set as the default in your Windows 10/11 computer, when you double-click on a JPG, PNG, or any other image file, the error -2147219196 may occur, and the app may crash. Here is the full error message verbatim:

File System Error -2147219196

photos app file system error 2147219196

And, repairing or resetting the app via “Apps and Features” may not help. This issue may occur especially after installing a Cumulative Update; some users reported this incident after installing the July KB4345421 (17134.167) Cumulative Update.Read more

How to Delete Files Older than N Days Automatically in Windows

windows 10 storage settings cleanup options

Windows 10 has built-in features to free up space by deleting old files in the %temp% directory and Downloads folder. Windows 10 Settings has an option (“Storage”) which automatically clears temporary files your apps are not using, files in the Downloads that haven’t been modified in the last x days, or files lying in the Recycle Bin for x days.Read more