I don't think it will work in XP in a dos window. You need to boot staight into dos. You can get a DOS bootdisk at bootdisk.com It may not see your hard drive if it's formatted NTFS, though.
You can download Mach2/3 and use that to test you're motors using XP.