Archived from groups: microsoft.public.windowsxp.general (More info?)
Hi all
I don’t know what is happened exactly but I'm always using CMD prompt to do
some of my works like run telnet command from any directory
But now I should go to system directory where telnet file located then I can
run it from there
And when I try to run it from another directory I receive the following
message
Archived from groups: microsoft.public.windowsxp.general (More info?)
Fadi wrote:
> I don’t know what is happened exactly but I'm always using CMD prompt to do
> some of my works like run telnet command from any directory
> But now I should go to system directory where telnet file located then I can
> run it from there
> And when I try to run it from another directory I receive the following
> message
>
> ------------------------------------------------------------------------------------------
>
> 'telnet' is not recognized as an internal or external command,
> operable program or batch file.
>
> ------------------------------------------------------------------------------------------
>
> and this is not just on telnet program
> I receive the same message for every file I try to run it from another
> location
Hi,
It seems you have a path issue, I suggest you download and
run Fixpath.exe.
Archived from groups: microsoft.public.windowsxp.general (More info?)
6. Why don't my commands
work?http://internet.cybermesa.com/~bstewart/cmdprompt.html#6
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:%23MwwoZihFHA.320@TK2MSFTNGP09.phx.gbl,
Fadi <fadi_naser@hotmail.com> hunted and pecked:
> Hi all
>
> I don’t know what is happened exactly but I'm always using CMD prompt to
> do some of my works like run telnet command from any directory
> But now I should go to system directory where telnet file located then I
> can run it from there
> And when I try to run it from another directory I receive the following
> message
>
> --------------------------------------------------------------------------
----------------
>
> 'telnet' is not recognized as an internal or external command,
> operable program or batch file.
>
> --------------------------------------------------------------------------
----------------
>
> and this is not just on telnet program
> I receive the same message for every file I try to run it from another
> location
>
> Thanks in advance
>
> Fadi
Archived from groups: microsoft.public.windowsxp.general (More info?)
Fadi wrote:
> Hi all
>
> I don't know what is happened exactly but I'm always using CMD prompt
> to do some of my works like run telnet command from any directory
> But now I should go to system directory where telnet file located
> then I can run it from there
> And when I try to run it from another directory I receive the
> following message
>
> ------------------------------------------------------------------------------------------
>
> 'telnet' is not recognized as an internal or external command,
> operable program or batch file.
>
> ------------------------------------------------------------------------------------------
>
> and this is not just on telnet program
> I receive the same message for every file I try to run it from another
> location
>
> Thanks in advance
When the system is told to run a program, it first looks in the "local"
folder. If the command (exe, com, etc.) cannot be found there, the system
begins looking in every folder specified in the path statements. After
exhausting these lists - and still unable to find the requested command - it
gives up with the message you saw.
At the command prompt, type "PATH" (no quotes) to see the locations
searched. The folder containing telnet will NOT be among them. That's why
you're have trouble.
Simply augument your existing PATH with the folder containing telnet.
> Fadi wrote:
>
>> thanks for your quick response but its not work
>> any advice
>>
>> thanks again
> Hi,
>
> In that case, I need to see your path definition exactly as it is
> defined in the environment.
>
> Please do the following:
>
> In the Start/Run dialog box, type in this command:
>
> %comspec% /c path >c:\path.txt
>
> Press OK.
>
>
> Open the Start/Run dialog box again, and type in this command:
>
> %windir%\notepad.exe c:\path.txt
>
> Press OK.
>
>
> Notepad should now open up c:\path.txt that contains your path
> definition, and you can copy/paste it's content into a reply to
> this post.
>
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/s [...] fault.mspx >
Archived from groups: microsoft.public.windowsxp.general (More info?)
Fadi wrote:
> This is what I got from path.txt file
>
> PATH=C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\PROGRAM
> FILES\SUPPORT TOOLS\;C:\WINDOWS\SYSTEM32\WSG32\
>
> thanks again
Hi,
Your path looks fine, so I am not sure what can be the issue here.
Let's check the PATHEXT environment.
Open a command prompt
In the command prompt, enter the following command:
echo %PATHEXT%
It should display this:
..COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
Archived from groups: microsoft.public.windowsxp.general (More info?)
Thanks everyone
Fadi
"HeyBub" <heybub@gmail.com> wrote in message
news:%23edRDvihFHA.2852@TK2MSFTNGP15.phx.gbl...
> Fadi wrote:
>> Hi all
>>
>> I don't know what is happened exactly but I'm always using CMD prompt
>> to do some of my works like run telnet command from any directory
>> But now I should go to system directory where telnet file located
>> then I can run it from there
>> And when I try to run it from another directory I receive the
>> following message
>>
>> ------------------------------------------------------------------------------------------
>>
>> 'telnet' is not recognized as an internal or external command,
>> operable program or batch file.
>>
>> ------------------------------------------------------------------------------------------
>>
>> and this is not just on telnet program
>> I receive the same message for every file I try to run it from another
>> location
>>
>> Thanks in advance
>
> When the system is told to run a program, it first looks in the "local"
> folder. If the command (exe, com, etc.) cannot be found there, the system
> begins looking in every folder specified in the path statements. After
> exhausting these lists - and still unable to find the requested command -
> it gives up with the message you saw.
>
> At the command prompt, type "PATH" (no quotes) to see the locations
> searched. The folder containing telnet will NOT be among them. That's why
> you're have trouble.
>
> Simply augument your existing PATH with the folder containing telnet.
>
>
Archived from groups: microsoft.public.windowsxp.general (More info?)
Torgeir, awhile back I saw you post a link for Just getting started with
scripting. Would you happen to have it? Thanks.
"Fadi" <fadi_naser@hotmail.com> wrote in message
news:%23DF7yvuhFHA.2072@TK2MSFTNGP14.phx.gbl...
> this is what it displaied exactly
>
> anyway thanks for your help
> and i'll try more and more till it fix
> thanks again for being patient and for your tries to solve my problem
>
> Fadi
>
>
>
Archived from groups: microsoft.public.windowsxp.general (More info?)
Fadi wrote on Tue, 12 Jul 2005:
>This is what I got from path.txt file
>
>PATH=C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\PROGRAM
>FILES\SUPPORT TOOLS\;C:\WINDOWS\SYSTEM32\WSG32\
>
>thanks again
Hi Fadi
Could we try a little experiment?
Open a Command Prompt window and paste this in:
path %path%;C:\windows\system32
then hit <enter>.
Now try a command. Does it work? (If it does, it will only last until
you close this Command window, but it gives us a clue as to what's
wrong.) Please post back and tell us the results.
Also, what is in C:\Windows\System32\WSG32? Symantec says it is a
keylogger spyware program?
Archived from groups: microsoft.public.windowsxp.general (More info?)
Thank you very much
Its work like a magic
But I'm sorry too because I didn't understand what's the problem was
And about "C:\Windows\System32\WSG32"
Yes it's for "Family Key Logger" program
I'm using it for a monitoring purpose
Thank you again and again and again
And sorry for late
Fadi
"Nightowl" <owl@[127.0.0.1]> wrote in message
news:CANs5lKOjh1CFwq5@black.hole...
> Fadi wrote on Tue, 12 Jul 2005:
>
>>This is what I got from path.txt file
>>
>>PATH=C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\PROGRAM
>>FILES\SUPPORT TOOLS\;C:\WINDOWS\SYSTEM32\WSG32\
>>
>>thanks again
>
>
> Hi Fadi
>
> Could we try a little experiment?
>
> Open a Command Prompt window and paste this in:
>
> path %path%;C:\windows\system32
>
> then hit <enter>.
>
> Now try a command. Does it work? (If it does, it will only last until you
> close this Command window, but it gives us a clue as to what's wrong.)
> Please post back and tell us the results.
>
> Also, what is in C:\Windows\System32\WSG32? Symantec says it is a
> keylogger spyware program?
>
> Hope this helps
>
> --
> Nightowl
>
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.