home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
panix
/
k95source.tar.gz
/
k95source.tar
/
url.c
< prev
next >
Wrap
C/C++ Source or Header
|
1999-10-13
|
293b
|
15 lines
#include <stdio.h>
#include <windows.h>
#include <shellapi.h>
int __cdecl
main(int argc, char **argv) {
if (argc == 2) {
ShellExecute(0, 0, argv[1], 0, 0, SW_NORMAL);
} else {
fputs("Please call with a single argument (a URL)\n", stderr);
exit(2);
}
return 0;
}