If OS=XP do this, If OS=98 do that

Here's one of Ken's commands which does different things depending on the OS:

[How can I create a path+file name list of selected directori)