Skip to content

Instantly share code, notes, and snippets.

@MartinBspheroid
Created December 17, 2020 11:04
Show Gist options
  • Save MartinBspheroid/790a98b9895566217d47a9aa283efbc2 to your computer and use it in GitHub Desktop.
Save MartinBspheroid/790a98b9895566217d47a9aa283efbc2 to your computer and use it in GitHub Desktop.
#pragma once
#include <Windows.h>
#include <string>
void openDirectory(std::string path) {
std::string cmd = "explorer " + path;
system(cmd.c_str());
}
int main() {
openDirectory("C:\\Users\\martin.blasko\\Runner");
return 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment