[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: OT: Debug in batch files



Reply to note from Harry Binswanger  Sat, 23 Oct
2010 18:12:02 -0400

Harry:

> I can do what I want in DOS Debug at the C: prompt:
>
> Debug pendpost.toc
> -e132 14 00 06 00 03
> -w
> -q
>
> But I can't do that in a batch file...

You can if you use redirection. Try this:

echo e132 14 00 06 00 03>commands.tmp
echo w>>commands.tmp
echo q>>commands.tmp
debug.exe pendpost.toc>commands.tmp

--
Carl Distefano
cld@xxxxxxxx