Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <windows.h>
- using namespace System;
- int main(array<System::String ^> ^args)
- {
- ShellExecute(0, "open", "C:\\Users\\Johan\\Desktop\\myfile.txt", NULL, 0, SW_SHOW);
- }
Add Comment
Please, Sign In to add comment