Open the folder C ++

https://bbs.csdn.net/topics/392055617?page=1    see 2nd Floor

system("start \"\" \"文件夹路径\"");

Example:

#include<iostream>

using namespace std;

int main(){
    system("start \"\" \"D:\\test\\hh\\xxx\""); //路径为D:\test\hh\xxx
    return 0;
}

 

Guess you like

Origin www.cnblogs.com/Toya/p/11222453.html