Archive for August, 2012

wscript.echo without a charriage return.

Saturday, August 25th, 2012

I was writing a small script to obtain and display server network information.   Part of a project to re-ip a network.

One thing I wanted to have was formatted output and found wscript.echo was adding a carriage return to the output. I looked around to see if there was a way to disable it.

wscript.echo does this by design. There is no way to disable it.

The way to get around this is to use : Wscript.StdOut.Write

For example:

Wscript.StdOut.Write (“Enter something: “)

Wscript.StdOut.Write “You entered : ” & Wscript.StdIn.ReadLine

You will have to add is a “vbCrLf” at the end to cause a CR.


What does the Dell Power lights mean?

Saturday, August 25th, 2012

Recently, I was asked what the amber 4 light meant and I had a machine which was flashing the 1 and 3 light. These could be found in a service manual, but who keeps those let alone read them these days.

A quick check of the Dell site found a document on diagnostics.

The 4 light meant a system was in recovery mode after bios pulled a checksum error.  A quick correction eliminated this condition.

The flashing 1 and 3 light was a bad PSU. A service call was made for this particular machine.

Shall I keep a service manual now?  Probably not. If I do, then this problem will probably never happen again. 😉