Tag Archives: command line

Tom Carpenter’s WiFiStat Tool

UPDATE: WIFISTAT has been modified so that you can run:

wifistat 0

For unlimited iterations. The three options now are:

  • wifistat
    • this will run 1 iteration
  • wifistat 0
    • this will run until you press CTRL+C
  • wifistat #
    • this will run for the number of iterations┬áspecified as #

Additionally, a timestamp is provided.

Here is a tool by request. WIFISTAT.EXE will show the Tx/Rx rate and signal strength for the current connection (WLAN) in dBm. By default, it lists the information and exits, like so:

WiFiStat.exe with No Parameters
WiFiStat.exe with No Parameters

Here is the tool with the parameter 5 (of course, if you move while running, the signal will change:

WifiStat.exe with a Parameter of 5
WifiStat.exe with a Parameter of 5

Here is the download, have fun. Like all my tools, it comes with no support and no error processing as they are created as learning experiments or for my own use [smile].

WiFiStat.zip Download

 

Windows Command Line – 64-bit?

I've had a lot of people ask me about the 64-bit edition of Windows 7 and whether it has a 64-bit command line. The answer is yes and no. In this post, I'll explain what I mean.

First, if you launch the Windows command line (cmd.exe) on a 64-bit edition of Windows 7 and then look at the Task Manager, you'll notice that the process entry for cmd.exe does not have an *32 after it. This indicates that the cmd.exe process is 64-bit. You may notice several entries in the Task Manager with the *32 after them. These entries are for 32-bit applications and processes.

Now, the question is this: are all the Windows 7 command line commands also 64-bit now? The answer there is: It depends?

You see many of us have old habits that die hard. As long as you use 64-bit commands, while in cmd.exe, you will be using 64-bit command line tools; however, if you run a 32-bit command that command will still run, but it will be in 32-bit mode.

To see this, open the task manager and then open the command prompt from the Start menu on your Windows 7 64-bit machine.

Now change to the C:WindowsSysWOW64 directory in the command prompt window and then execute the more command with no parameters. It will appear to hang, but that's OK.

Look at the task manager and note the entry for the more.com command. It has an *32 after it.

You see, the files in the C:WindowsSysWOW64 folder are 32-bit commands. There is even a 32-bit version of cmd.exe that you can launch from there.

The point is simply this: To ensure that you are running a true 64-bit command prompt, make sure that all of your commands are 64-bit and not just thecmd.exe.