Add a separator in the Windows Explorer context menu (not in a submenu)
<p>I have found that "CommandFlags"=dword:00000040 will add a separator below an entry, though only to a submenu (under the "subcommands"="" string). Example <a href="https://blog.sverrirs.com/2014/05/creating-cascading-menu-items-in.html" rel="noreferrer" title="https://blog.sverrirs.com/2014/05/creating-cascading-menu-items-in.html">here</a>.</p>

<p>Is there a way to add a separator in the main context menu?</p>

<p>The example I am using:</p>

<pre><code>[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\Delete With Rimraf]
@="Delete With Rimraf"
"CommandFlags"=dword:00000040
</code></pre>

<p>This gives no separator.</p>