Discussion:
Need a batch file that doesn't close the command prompt.
(too old to reply)
Mike Barnard
2010-06-08 22:36:35 UTC
Permalink
Hi.

I want a shortcut on my XP desktop. It has to open the command prompt
and change the directory a selected one, then WAIT FOR FURTHER
COMMANDS.

As fas as I can see, a batch file will close the command prompt after
it has reached the last command in the file. A pause is no good
because as soon as you start to type a command it will close.

OK, it's sure to be easy but how please? Thanks in advance.

Mike.
A***@NOT.AT.Arargh.com
2010-06-09 00:23:50 UTC
Permalink
On Tue, 08 Jun 2010 23:36:35 +0100, Mike Barnard
Post by Mike Barnard
Hi.
I want a shortcut on my XP desktop. It has to open the command prompt
and change the directory a selected one, then WAIT FOR FURTHER
COMMANDS.
As fas as I can see, a batch file will close the command prompt after
it has reached the last command in the file. A pause is no good
because as soon as you start to type a command it will close.
OK, it's sure to be easy but how please? Thanks in advance.
Wrong group for batch files.

This group is/was for BASIC running on DOS.
--
ArarghMail006 at [drop the 'http://www.' from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html

To reply by email, remove the extra stuff from the reply address.
pyotr filipivich
2013-03-30 21:06:11 UTC
Permalink
I was looking for something else, and it doesn't seem to be here. But
Post by Mike Barnard
Hi.
I want a shortcut on my XP desktop. It has to open the command prompt
and change the directory a selected one, then WAIT FOR FURTHER
COMMANDS.
As fas as I can see, a batch file will close the command prompt after
it has reached the last command in the file. A pause is no good
because as soon as you start to type a command it will close.
OK, it's sure to be easy but how please? Thanks in advance.
Before the pause - or in place of it, enter CMD (start a command
prompt) - which will open a DOS command line in the window.
--
pyotr filipivich.
Just about the time you finally see light at the end of the tunnel,
you find out it's a Government Project to build more tunnel.
pyotr filipivich
2013-03-30 21:17:02 UTC
Permalink
I was looking for something else, and it doesn't seem to be here. But
Post by Mike Barnard
Hi.
I want a shortcut on my XP desktop. It has to open the command prompt
and change the directory a selected one, then WAIT FOR FURTHER
COMMANDS.
As fas as I can see, a batch file will close the command prompt after
it has reached the last command in the file. A pause is no good
because as soon as you start to type a command it will close.
OK, it's sure to be easy but how please? Thanks in advance.
Before the pause - or in place of it, enter CMD (start a command
prompt) - which will open a DOS command line in the window.
--
pyotr filipivich.
Just about the time you finally see light at the end of the tunnel,
you find out it's a Government Project to build more tunnel.
pyotr filipivich
2013-03-30 21:21:01 UTC
Permalink
I was looking for something else, and it doesn't seem to be here. But
Post by Mike Barnard
Hi.
I want a shortcut on my XP desktop. It has to open the command prompt
and change the directory a selected one, then WAIT FOR FURTHER
COMMANDS.
As fas as I can see, a batch file will close the command prompt after
it has reached the last command in the file. A pause is no good
because as soon as you start to type a command it will close.
OK, it's sure to be easy but how please? Thanks in advance.
Before the pause - or in place of it, enter CMD (start a command
prompt) - which will open a DOS command line in the window.
--
pyotr filipivich.
Just about the time you finally see light at the end of the tunnel,
you find out it's a Government Project to build more tunnel.
Loading...