Discussion Locked

debug batch files by runing in step mode

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

In win9x it was easy to debug a batch file. from a command prompt you type "command /y/c filename.bat" and it would run in step mode allowing you to watch its execution. Does anyone know how to the equivalent in Win2k or XP?

2 replies

by jimbb

How about this simple trick:
-put "pause" after every step you'd like to check before it scrolls off the screen
-put "echo on" at the beginning to see the execution of every line.

Jim

by tbragsda

Loss of another tool. Well another reason to stay away from 2k or XP.

I cant understand how people live with out batch files, and why soo many dont care.

This discussion is closed to new replies.