Re: very slow cursor in CMD window w/Text editor?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Dunno what's happening there but try this.

Make a copy of "command.com", rename it to Command.txt and open it with Notepad, then scroll about 2/3 of the way down. Exit is listed along with the other embedded commands.

michaeljnc wrote:

Hi Bob. That's very strange. I just tried it again.
I removed the NTCMDPROMPT command from autoexec.nt;
started the editor;
did a shell out to DOS prompt;
verified COMSPEC=c:\windows\system32\command.com
ran the xxp.bat;
it echos the single line, exit;
then back to the prompt

When NTCMDPROMPT is put back into autoexec.nt
doing the same thing verifies that comspec=c:\windows\system32\cmd.exe
then the xxp.bat Works.

So that's all I know.
Gremlins, I guess? :-/
Mike

Bob I wrote:


michaeljnc wrote:

I think I saw something about using quotes or even a single preceding quote, but I tried that and it didn't work?
cd 'c:\documents and settings

Another curious thing is that an x.bat file containing EXIT, will exit
from a CMD prompt but not from command.com.


exit works on a "command" bat file here.



Wesley Vogel wrote:

True, Bob.

But try:
cd C:\Documents and Settings
instead of
cd C:\DOCUME~1
in command.com. ;-)



.



Relevant Pages

  • Re: very slow cursor in CMD window w/Text editor?
    ... REM MS-DOS-based application, Windows runs COMMAND.COM. ... To run CMD.EXE, the Windows command prompt, ... The exit command is an internal command part of command.com or cmd.exe. ...
    (microsoft.public.windowsxp.general)
  • Re: Starting a VB6 program with command line args from a bat file
    ... I thought I could write a bat file as follows.. ... >> However, when the bat file executes, the command line window opens ... When I exit the second program, ...
    (microsoft.public.vb.general.discussion)
  • Re: Skips Login Screen!
    ... > As if I would be so stupid to try a command without looking it up first. ... > ignore nonexistent files, never prompt ... > output version information and exit ... Email is spam trap try baskitcaise at gmx dot co dot uk ...
    (alt.os.linux.suse)
  • Re: very slow cursor in CMD window w/Text editor?
    ... Obviously, it does not create a directory, but typing Exit -> Enter at the prompt works as expected. ... It's just the .BAT command that is ignored? ...
    (microsoft.public.windowsxp.general)
  • Error in kernel compilation
    ... did 'make xconfig'. ... Din't do any changes, saved and exit. ... prompt I typed 'make dep' which was successful and then 'make'. ...
    (comp.os.linux.development.system)