[comp.sys.ibm.pc] Batch file question

loafman@convex.UUCP (01/10/88)

There is a PD set of programs called 'pushdir' and 'popdir' that may be
what you are after.  They can be used in the following manner:

     pushdir
     cd \glarp
     glarp
     popdir

to achieve what you are after and return you to the original directory
after you complete.  Send me some mail and I will get them to you.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kenneth W. Loafman @ CONVEX Computer Corp, Dallas, Texas | All opinions
Voice:	  work: (214) 952-0829  home: (214) 964-1250     | are my own,
USPSnail: 1705 Coit Rd #2101, Plano, Tx 75075		 | of course.
UUCP:	  ihnp4!convex!loafman				 |        ...KWL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

jld@cbnewsc.ATT.COM (J. L. David) (04/07/89)

Is there any way to embed a Control-Z inside a batch file o that 
it will NOT cause the termination of the batch job?  Specifically,
I am trying to execute the following:

egrep -v "^Z" file1.ext >file2.ext

which works just fine if I type it in at the command line but
fails from within a .BAT file.  Please reply via email.

Thanks in advance.

Jeff David