Do you really want to delete the actual My Documents folder, or just the contents?
Here's a two line batch job that does it under W98.
DELTREE /Y "C:\My Documents"
EXIT
Note that with XP there is a copy of "My Documents" for each user, so you'd have to specify the complete path to the specific user in question on W2K or WXP. For "Sample User", for instance:
DELTREE /Y "C:\Documents and Settings\Sample User\My Documents"
Of course, you can also right click on "My Documents" and more it anyplace you like, if that has been done, you have to point the batch file to the correct location.
For most command utilities, if you type a /? after the command name, you'll get help. For instance:
c:\>deltree /?
Deletes a directory and all the subdirectories and files in it.
To delete one or more files and directories:
DELTREE [/Y] [drive:]path [[drive:]path[...]]
/Y Suppresses prompting to confirm you want to delete
the subdirectory.
[drive:]path Specifies the name of the directory you want to delete.
Note: Use DELTREE cautiously. Every file and subdirectory within the
specified directory will be deleted.