Re: Command prompt

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



The machine is probably infested with malware. While
he ***thinks*** he runs edit.com, he may well run
something else. BTW, I note that you wrote "edit.exe".
The correct file is "edit.com" under WinXP.

To make sure that you run what you think you run,
you should be completely specific when you type the
command, e.g. like so:

%SystemRoot%\system32\edit.com
"c:\Program Files\Stocks\stocks.exe"

"Paulo" <projectolda (NO SPAM) @sapo.pt> wrote in message
news:OeUGC4fGHHA.3616@xxxxxxxxxxxxxxxxxxxxxxx

Hi Pegasus,

Thanks for your reply. I´ll try to explain better.
Edit.exe was just an example. What happens is that, in the command prompt,
he executes edit and the program doesn´t launch.

Example:
Going to Command Prompt with Start; Run; CMD.EXE

C:\Documents and Settings\Administrator> Edit (after pressing enter
here, the editor should appear. It doesn´t appear and returns to command
prompt giving no messages)
C:\Documents and Settings\Administrator>

Other programs are Clipper executables (stock and invoice
applications):

C:\Documents and Settings\Administrator> STOCKS.EXE (again, after
pressing enter here the stocks application should execute. Is doesn´t and
returns to prompt saying nothing)

C:\Documents and Settings\Administrator>

If he executes CMD here (creating another instance of the command
prompt), everything works OK

C:\Documents and Settings\Administrator> CMD.EXE
Microsoft Windows XP [Version 5.1.2600]
(c) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator> EDIT (now the editor is
executed normally)

Leaving edit.exe and trying the other applications also works normally

C:\Documents and Settings\Administrator> STOCKS.EXE (now the
application
runs normally)

Thanks again for your help,
Paulo





"Pegasus (MVP)" <I.can@xxxxxxx> escreveu na mensagem
news:%23cOCmZfGHHA.1912@xxxxxxxxxxxxxxxxxxxxxxx

"Paulo" <projectolda (NO SPAM) @sapo.pt> wrote in message
news:%23Vfgh$eGHHA.536@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,

A customer of mine has a new PC with XP SP2 installed.

The problem is that, when he goes to the command prompt executing
CMD.EXE
or
Start; Accessories;
Command Prompt, and executes, for example EDIT, it returns to the
prompt
whitout executing the editor and without any messages.
This happens with any DOS programs he calls from the prompt.

Strangely, if, when in the prompt he executes CMD.EXE, in this new
instance
of the command prompt everything executes as it should.

Does anyone know what could be causing this ?


TIA,
Paulo


Edit.exe is a 16-bit legacy program. Your customer should use
notepad.exe instead. It is much better and it fully supports Windows
cut & paste (which edit.exe does not).

What other programs is he unable to run? How exactly does he
run them? Pleasse give a specific example - your description is
a little unclear.






.



Relevant Pages

  • Re: XP log on password problem
    ... You don't need to change the prompt. ... At the 'A:\>' type in edit ... > I am in the process of setting up a system running XP ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Shutdown in 5 seconds - unable to get to command prompt
    ... This is in regard to a notebook computer running ... > seconds - not enough time to get to a command prompt. ... The solution, in her case, was to insert the last OEM restore CD in the ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Shutdown in 5 seconds - unable to get to command prompt
    ... This is in regard to a notebook computer running ... >> prompt if the system doesn't even log in to the desktop. ... >> Will the XP boot disk allow me to get to a command prompt ... > The solution, in her case, was to insert the last OEM restore CD in the ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Scheduled Tasks and passwords
    ... Tried Run with the new Command Prompt task and got no response (didn't ... You can create a new account with a PW just for STs. ... This is why you may want to test your mechanism by assigning yourself ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Re: Command Prompt
    ... >>> prompt, but invoke a batch file first. ... The other icon I'd ... >> up in the command prompt, but invoke a batch file first". ... if someone installs the Microsoft application and is ...
    (microsoft.public.windowsxp.configuration_manage)