Full name required for executables.

  • Thread starter Thread starter 4Space
  • Start date Start date
4

4Space

I have a perculiar problem on one of my XP professional boxes: To run an
executable at the command prompt, I must specify the file extension also.
e.g.

C:\Documents and Settings\TheUser>windump
'windump' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\TheUser>windump.exe
windump.exe: listening on \Device\NPF_{8A929D03-8358-48ED-A112-02A46F18EBF9}

0 packets received by filter
0 packets dropped by kernel

C:\Documents and Settings\TheUser>


I doubt that this is a setting I have knowingly tweaked, anyone know how to
rectify it?

Cheers,

4Space
 
Fixed the problem.

I'd installed TCL, and it has updated my user PATHEXT variable to =
$PATHEXT$;.tcl in an attempt to append the tcl additions to the system
PATHEXT variable. Either TCL is in error for doing this, or this style of
chaining environment variables should work but is broken in XP.

Cheers,

4Space
 
4Space said:
I have a perculiar problem on one of my XP professional boxes: To run an
executable at the command prompt, I must specify the file extension also.
e.g.

C:\Documents and Settings\TheUser>windump
'windump' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\TheUser>windump.exe

Run regedit.exe and look in
HKEY_LOCAL_MACHINE\System\CurrentControlSet\
Control\Session Manager\Environment

In the right pane there should be a line
PATHEXT
(If not there make it as a string value) and its contents should be
..COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top