need your assistance guys.

what is the correct way to hardcode this path.

In winxp, I need to create subfolder in the current users Documents and Settings folder and extract files there . . .

or in vista or 7, I need to create subfolder in the current users Documents and Settings folder and extract files there . . .

I dont want to hardcode C:\Documents and Settings\CustomFolder or C:\Users\CustomFolder because probably the working drive is D or E.

Can I hardcode like %appdata%/customfolder?

What is the correct code?