Categories

Our Sponsors

DOS commands / Batch file scripting

I hate to admit on a Unix admin type Blog that I have been recently forced to work in the Windows OS world.

Thankfully I have been able to place Cygwin on most of the systems that I support.

I have, however, needed to be able to create a few batch files that would run on a [...]

Internet Explorer Ruler (Shift R)

While browsing the web the other day and I was in the midst of entering a search term when an odd little window unexpectedly popped up. It was titled “Ruler”, and offered some options to check, such as “Snap to X/Y axis” and “Hide Tick marks.”

I found that my keyboard was no longer responding, so [...]

Open Source Alternatives

There is a ton of software a new business sometimes feels that they must purchase right when they are starting off a new business.

There Word, Excel, and Powerpoint from Micro$soft that are usually very expensive.

There is also money management software, project planning software, and graphic software.

Well there is a solution for small businesses that are [...]

Exporting Tomcat SSL keys to Apache httpd

Apache Tomcat SSL keys created with keytool are, by default, in der format. These keys cannot be used in Apache httpd since httpd, be default, expects the keys in pem(X509) format. Using the below steps you can export the tomcat’s keys to Apache httpd format and use it for Apache.

I assume that you already have [...]

Killing windows processes from the command line

Use TASKLIST and TASKKILL :  Good web site on this http://commandwindows.com/taskkill.htm

(F)orce Kill running processes for ImageName of java.exe
taskkill.exe /F /IM java.exe

NOTE: Wildcard ‘*’ for the /IM switch is accepted only with filters, use /FI
taskkill /F /FI “IMAGENAME eq note*”

Find all running Java processes command line
tasklist /FI “IMAGENAME eq java.exe”

Example:  I started 2 Calculator programs.

H:\>tasklist /FI [...]

Windows Scheduled Task Log Output

I needed to have a script list and kill processes and I needed that script to run out of a scheduled task.

It would be nice to know what happened with the script when it runs early in the morning.

I found  that if you call the script from the Windows Task Scheduler that you can give [...]

Windows XP 2003 timestamps

I needed to do a little research on how timestamps work in Winders, XP and 2003 server.

Creation date later than modified date (”date modified” less than “date created”)
In Word XP the creation date of a document can be later than the modified date when saved elsewhere. Microsoft says
“When the document is copied or is saved [...]

Launch Application from Excel

I started out with the need to be able to launch a putty SSH window from Excel that had a list of hosts and/or IP addresses.

In Microsoft Excel

1) View/Toolbars Visual Basic
2) Click the Control Toolbox icon
3) Click on the Command Button icon and then click in your worksheet or drag the icon symbol.
4) Right click [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes