Here you go:
<?xml version="1.0"?>
<button backcol="none" display="both" textcol="none">
<label>Create Special Folder</label>
<tip>See https://resource.dopus.com/t/help-needed-for-creating-a-special-copy-create-folder-button/3881/1
<icon1>#makedir</icon1>
<function type="normal">
<instruction>@dironly</instruction>
<instruction>@nofilenamequoting</instruction>
<instruction>CreateFolder NAME "{filepath$}\{file$|noterm} §"</instruction>
<instruction>SetAttr FILE "{filepath$}\{file$|noterm} §" SETATTR H</instruction>
</function>
</button>
See here if you don't know what to do with the above code block.