I recall seeing videos on YouTube of Windows 1.0 applications running on Windows 10, so I suppose it really depends on what type of software exactly; more system-level things like disk defragmenters are unlikely to work, but basic productivity software likely will continue working. I personally have a few from Win95 era which I still use regularly, and of course I'd expect the basic Hello World messagebox binary to remain usable 10 years from now.