DEBUG.EXE dropped in Windows 7

Wow. DEBUG.EXE is being finally phased out in Windows 7. I can’t believe it was still there.

This brings me back two different memories. I had used this program in the past (a long while ago!) and it caused me both pain and joy.

Regarding pain: I had an MS-DOS 5.x book that spent a whole section on DEBUG.EXE, and one of the examples in it contained a command that caused the program in memory to be written to some specific sectors of the floppy disk. Guess what I tried? I executed that same command but told it to use my hard disk instead of the floppy drive. Result: a corrupted file system. Had to run scandisk (remember it?), which marked some sectors as faulty and I thought I had ruined my precious 125MB WD Caviar hard disk. It wasn’t until much, much, much later that I learnt that such a thing was not possible, and that really formatting the disk with a tool that had no memory of “bad” sectors (aka, Linux’s newfs) could revert the disk to a clean state. (Actually, I kept that hard disk until very recently.)

May 8, 2009 · Tags: msdos
Continue reading (about 2 minutes)