Anybody know the algorithm MS uses for creating autorecover files?

For instance, if you have 2 readme.doc files open... how does it name them?

TIA