Re: Batch question



"Brother Brock" <Nobodyknows@xxxxxxxxxxx> wrote:

>Hello, All!
>During batch run displays "Command completed Successfully" (not at the end).
>Could not locate which program/line display this. Thanks for any replies.
>
>With best regards, Brother Brock. E-mail: Nobodyknows@xxxxxxxxxxx
>

Does the batch file use the CALL command? I seem to recall that this
will produce that message.

You could do an high intensity manual debugging of the patch file by
inserting ECHO and PAUSE commands after each existing line of the
batch file.

(existing line 1)
ECHO Line 1 processed
PAUSE
(existing line 2)
ECHO Line 2 processed
PAUSE

and so forth.

That will show you where this comment is originating.

Good luck

Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

In memory of a dear friend Alex Nichol MVP
http://aumha.org/alex.htm
.



Relevant Pages

  • Re: Persisting env vars in cmd windows
    ... But the piece de resistance was the "start" command, ... - Have all code for the one project in one single batch file. ... @echo off ... echo:: ERROR ERROR ERROR ERROR ...
    (microsoft.public.win2000.general)
  • Re: Need Help with a DOS script (if possible)
    ... Tried that, and it didn't echo the delete command, it just sat there a ... second or two after the last 'press any key' and then closed the command ... echo Checking the target folder xxx%Target%yyy ...
    (microsoft.public.windowsxp.general)
  • Re: del not working in .bat file
    ... Try using the CALL command inside the batch file. ... @echo off ... executes, which calls test2.bat and that executes. ...
    (microsoft.public.vb.general.discussion)
  • Re: working with directories
    ... you are asking that the DATE command be executed. ... >> want to use other key choices, see Appendix C for the scan code values. ... This is just running a batch on command line cmd.... ...
    (microsoft.public.sqlserver.programming)
  • Re: sed in a batch(DOS) file
    ... > I need to run a batch file to substitute a string among certain kind of ... How can I do it using for command espcially I have to redirect ... the Batch syntax varies with OS. ... :: The ECHO ON is just to show you the command as it's executed ...
    (comp.unix.shell)

Quantcast