I had one case just recently, software written for DOS. I tried to make it work under XP, gave up and rewrote the software for Win 8. Took me all of 3 days. Lucky for me it was an inhouse product, so I had access to the source code.
Yep, if you got the skills and the source code, at least your up the creek with something that can be used as a paddle.