The shown code does not start the Explorer and you can't restart it. All you can do is starting another instance.
If you want to open the Explorer for a specifc directory, just pass that as command line argument:
explorer <directory>
But it might be difficult to get the folders that had been opened before. Depending on the Windows versions you might be able to get a list of recent folders or items from the registry or
shell:Recent
.