Posts Tagged ‘command line’

Today, we at Your Nearest Bar are proud to announce our first software release, called JetScanner. It is a little utility coded in Python (tested only on 2.7) that allows scanning pages from an HP JetDirect device that has an AiO or MFP device attached to it. Currently it is only tested with the HP JetDirect 175x, or J6035B. If you’d like us to add support for other JetDirect devices, please shoot an email to somedude at yournearestbar dot com.

The code is licensed under the GPLv2 and it’s available for download at http://code.google.com/p/jetscanner/. The program has descriptive help built-in with the switch -h or –help. Current plans include changing the PDF postprocessing and adding e-mailing capabilities, so check back in the future for an updated version.

Sometimes it is much easier to simply run a command line command or batch file to perform repetitive or administration tasks. Here are some commands to help you clean that pesky IE7 history/cookies/temp/whatever files that are stored on your hard drive.

Delete All with the Also delete files and settings stored by add-ons options selected
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

And to make things more interesting, you can combine the numbers and get 2 or more functions at the same time, i.e.:

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 9

This will delete the files (+8) and history (+1) in one single step. Now you can also create shortcuts with this and make it run every startup, or have a shortcut on Quick Launch, whatever suits you best.