Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Using Windows 7 x64 Enterprise. When I view C:\windows\System32 through explorer I can see telnet.exe, if I open cmd from the start menu I can use telnet. If I open C:\windows\system32\cmd.exe via Launchy (as admin or not) I can't use telnet or even see telnet after running

Running from start menu

C:\Windows\System32>dir telnet*
07/13/2009  05:39 PM            79,872 telnet.exe
           1 File(s)         79,872 bytes

Running from Launchy

C:\Windows\System32>dir telnet*
           File Not Found

Anyone know why the contents of the folder change depending on how it is viewed?

share|improve this question
    
Are you sure you are running the same cmd, and not the 64 bit version fromone place and the 32 bit from the other? –  Zoredache Dec 2 '10 at 16:12

1 Answer 1

up vote 1 down vote accepted

As Zoredache said, you may be using two different versions of command prompt.

Windows 7 x64 has something called WOW64 which allows 32 bit applications to run on the 64 bit OS in compatibility mode.

I suppose Launchy is a 32 bit application. (Open task Manager and in processes tab see if Launchy's process is shown as Launchy.exe*32. If yes it is running under WOW64)

Windows transparently replaces System32 for 32 bit applications with C:\Windows\SysWOW64 folder. This is a folder with 32 bit variants of common windows applications like cmd and regedit present in system32. Telnet may not be present in SysWOW64. Hence the issue you are facing.

share|improve this answer
    
That is the problem, I don't like that they both say system32 when one isn't system32. Thanks –  Peter Dec 2 '10 at 19:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.