Home Forums HTBasic Forum Add tools to HTBasic

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #367
    ZeRider
    Participant

    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 :

    1/ USBDeview
    http://www.nirsoft.net/utils/usb_devices_view.html

    “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…”

    2/ NirCmd
    http://www.nirsoft.net/utils/nircmd.html

    “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…”

    3/ GUIPropView
    http://www.nirsoft.net/utils/gui_prop_view.html

    “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 …

    #446
    ZeRider
    Participant

    Another interesting tool :

    DevManView
    http://www.nirsoft.net/utils/device_manager_view.html

    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.

    #4492
    ZeRider
    Participant

    Hello,
    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 …

    DIM Application$[80]
    DIM Disque$[80],Prog$[200]
    DIM Command$[200]
    !
    Application$=”HTBwin10″&”\HTBwin.exe”
    Application$=”C:\Program Files (x86)\”&Application$
    !
    Affinity=0 ! Normal case
    Affinity=4 ! For test, To use multi-core processors 0 to 4
    !
    Prog$=”nircmd.exe”
    Disque$=Nircmd_directory$ ! Need to be completed with the correct directory …
    Disque$=Disque$&”\NirCmd\nircmd-x64″
    Prog$=Disque$&”\”&Prog$
    !
    SELECT Affinity
    CASE 0
    K$=” 0″
    CASE ELSE
    K$=” 0″
    FOR I=1 TO Affinity
    K$=K$&” “&VAL$(I)
    NEXT I
    END SELECT
    !
    Command$=”cmd /C start /MIN “&Prog$&” setprocessaffinity “&””””&Application$&””””&K$
    EXECUTE CHR$(13)&Command$
    !
    END

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.