How to get CPU's name programmatically
Small but useful snippet about CPU’s Name and to get it programmatically using WMI. Useful for Information and benchmarking purposes.
Small but useful snippet about CPU’s Name and to get it programmatically using WMI. Useful for Information and benchmarking purposes.
In some cases we need to have dedicated Drive in absence of the physical Drive. In this case we can add drive mapped to the Folder. Typically this could be done using SUBST command, but there is more convenient way.
Sometimes you need to prevent Windows updates and following restarts of the PC (for example during long endurance test while PC Stays connected to Internet). An easiest way to do this - is just set Metered Connection to public interface
Some useful variables like %PROGRAMFILES% or %USERPROFILE%, which I often forgot.
When I hold Left Alt + Tab, I am still able to select my desired window by tabbing, however when I release Alt, nothing happens. It still stuck at the small window selecting thing, I have to manually click on or hit ENTER to switch to the desired window instead of just releasing key. Looks like left Alt acts as right Alt. And the Solution is to add DWORD Value AltTabSettings and set it to 1 to the Registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
Two command lines which I often forgot and googling again and again. If you have dynamic link library, but haven’t according *.lib file, then use
dumpbin /EXPORTS yourfile.dll > yourfile.exports
lib /def:yourfile.def /out:yourfile.lib
The AIPD image format is an internal, proprietary National Instruments format. It can normally be opened in NI software like Vision Assistant, but it can also be opened in ImageJ.