alert.exe - a command line util that windows should have had
4 posters
alert.exe - a command line util that windows should have had
msg kind of fulfills this but not very well - compile and place in %WINDOWS% to be able to use it in cmd without changing path variables
this is so simple but so useful if you ever need to use it for some reason like i just found myself requiring (task scheduler is for NERDS)
this is so simple but so useful if you ever need to use it for some reason like i just found myself requiring (task scheduler is for NERDS)
- Code:
// so easy even amsk8r could make this
#include <stdio.h>
#include <windows.h>
#define UNICODE 1
using namespace std;
int main(int argc, char* argv[])
{
if(argc != 3) {
printf("Usage: [file name] "message" "title""); // add extra arguments and shit at your leisure
return -1;
}
int msgbox = MessageBox(
NULL,
(LPCTSTR)argv[1],
(LPCTSTR)argv[2],
MB_ICONWARNING | MB_OK | MB_DEFBUTTON1
);
return msgbox;
}
Last edited by oaky on April 3rd 2015, 7:01 pm; edited 1 time in total
Re: alert.exe - a command line util that windows should have had
i have since forgotten why i needed this
Re: alert.exe - a command line util that windows should have had
are you blind or do images not show up for youroomo wrote:forgive me for asking but what does it actually do
Re: alert.exe - a command line util that windows should have had
i can seee the picture and i have no fucking idea what it does
Re: alert.exe - a command line util that windows should have had
it lets you display a message prompt for whatever reason you might want to do thatSmokeTheHardest 420 2k15 wrote:i can seee the picture and i have no loving idea what it does
Re: alert.exe - a command line util that windows should have had
this is a classic hallmark of high school seth's attitude of "i would rather make something worse than use a better solution i didnt make" but it is cool
Re: alert.exe - a command line util that windows should have had
that attitude is valid and americansalty wrote:this is a classic hallmark of high school seth's attitude of "i would rather make something worse than use a better solution i didnt make" but it is cool
Mac B- CASIO MT220
- Posts : 6191
volume of testosterone : 213331
Join date : 2015-04-20
Age : 161
Location : sweet baby rays
Similar topics
» the command is a very important command
» yer wish is my command
» Red alert 2
» windows seven is shiiiiiiiiiiiiiiiiiiit
» i hate windows 8
» yer wish is my command
» Red alert 2
» windows seven is shiiiiiiiiiiiiiiiiiiit
» i hate windows 8
Permissions in this forum:
You cannot reply to topics in this forum