指定したフォルダを開いた状態でExplorerを起動する方法について調べたので、備忘録として記載しておきます。
下記コードのようにexplorer.exeの引数にフォルダを指定して、systemで実行します。
#include <iostream>
int main()
{
std::string command = "explorer.exe C:\\Windows";
system(command.c_str());
std::cout << "Explorer launched\n";
}