Created
December 1, 2019 23:02
-
-
Save Linda-chan/77e20f0becf8288a518148c89f72142a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <AJP System.H> | |
//=================================================================== | |
int WINAPI WinMain(HINSTANCE hInstance, | |
HINSTANCE hPrevInstance, | |
LPSTR lpCmdLine, | |
int nCmdShow) | |
{ | |
char szDirectory[513] = "\0"; | |
GetCurrentDirectory(512, szDirectory); | |
ShellExecute(0, "open", "Command.COM", lpCmdLine, | |
szDirectory, SW_SHOWNORMAL); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment