March 29, 2017 at 12:25 pm #367
Some very useful tools could be found in the NirSoft Web site for add some new function to HTBasic.
All the tools are freeware and are command line programmable
Personally I use commonly the 3 tools below :
“USBDeview is a small utility that lists all USB devices that currently connected to your computer, as well as all USB devices that you previously used.
For each USB device, extended information is displayed: Device name/description, device type, serial number (for mass storage devices), the date/time that device was added, VendorID, ProductID, and more…”
“NirCmd is a small command-line utility that allows you to do some useful tasks without displaying any user interface. By running NirCmd with simple command-line option, you can write and delete values and keys in the Registry, write values into INI file, dial to your internet account or connect to a VPN network, restart windows or shut down the computer, create shortcut to a file, change the created/modified date of a file, change your display settings, turn off your monitor, open the door of your CD-ROM drive, and more…”
“GUIPropView displays extensive information about all windows currently opened on your system. The upper pane of GUIPropView displays all top level windows, and when you select a window in the upper pane, the lower pane displays the list of all child windows of the selected top level window.
You can also select one or more windows and then do some actions on them like close, hide, show, minimize, maximize, disable, enable, and so on…”
The list of tools is long so good luck …August 31, 2017 at 4:24 pm #446
Another interesting tool :
DevManView is an alternative to the standard Device Manager of Windows, which displays all devices and their properties in flat table, instead of tree viewer. In addition to displaying the devices of your local computer, DevManView also allows you view the devices list of another computer on your network, as long as you have administrator access rights to this computer.
DevManView can also load the devices list from external instance of Windows and disable unwanted devices. This feature can be useful if you have Windows operating system with booting problems, and you want to disable the problematic device.June 15, 2020 at 10:02 am #4492
As you know HTBasic cannot handle new computers with multi-core CPUs.
This can slow down calculations or file storage enormously.
The solution is to force the modification of the affinity so as to increase the processor number used during resource-intensive operations.
On the other hand, during screen displays, it is better to keep the original affinity on single processor.
To do this job I use the NirCmd freeware utility, to download here : https://www.nirsoft.net/utils/nircmd.html
Please find bellow my code. Hope that help somebody …
Application$=”C:\Program Files (x86)\”&Application$
Affinity=0 ! Normal case
Affinity=4 ! For test, To use multi-core processors 0 to 4
Disque$=Nircmd_directory$ ! Need to be completed with the correct directory …
FOR I=1 TO Affinity
Command$=”cmd /C start /MIN “&Prog$&” setprocessaffinity “&””””&Application$&””””&K$
- You must be logged in to reply to this topic.