image

Nirsoft heeft met de tool NirCmd een handig stukje software uitgebracht. Dit staat er op hun website:

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…

 

Hieronder vind je wat voorbeelden:

Hide the start button on the system tray
nircmd.exe win child class “Shell_TrayWnd” hide class “button”

Show the start button on the system tray
nircmd.exe win child class “Shell_TrayWnd” show class “button”

Hide the clock on the system tray
nircmd.exe win child class “Shell_TrayWnd” hide class “TrayClockWClass”

Show the clock on the system tray
nircmd.exe win child class “Shell_TrayWnd” show class “TrayClockWClass”

Kill (terminate) all instance of Internet Explorer processes
nircmd.exe killprocess iexplore.exe

Set the display mode to 800x600x24bit colors
nircmd.exe setdisplay 800 600 24

Change the date/time of the specified filename (creation time and modified time)
nircmd.exe setfiletime “c:\temp\myfile.txt” “24-06-2003 17:57:11” “22-11-2005 10:21:56”

Empty the recycle bin in all drives.
nircmd.exe emptybin

 

Meer informatie over NirCmd kun je hier vinden: http://www.nirsoft.net/utils/nircmd.html

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.