Yeah, I'm trying to think of a way to do this, and would appreciate any tips.

I'm thinking that if 98 had a desktop.ini file, or similar, then I could just do something like:
Code:
int Check ( void )
{
	FILE Check;
	if ( Check = fopen("c:/windows/desktop/desktop.ini", "r") == 1 )
	{
		/* 98 was not detected */
		CreateDirectory("C:/documents and settings/all users/desktop/NewFolder", NULL);
		/* etc.. */
	}
	else
	{
		/* 98 was deteced */
		CreateDirectory("C:/windows/desktop/NewFolder", NULL);
	}
	return 0;
}
This is obviously targeted towards windows.

Any tips?

- edit -
I have XP, and had 98, but couldn't remember these specifics.
- edit -