alert.exe - a command line util that windows should have had

4 posters

Go down

alert.exe - a command line util that windows should have had Empty alert.exe - a command line util that windows should have had

Post by salty March 1st 2015, 8:37 pm

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)

alert.exe - a command line util that windows should have had I1H2jqL

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
salty
salty
STILL UNSTOPPABLE

Posts : 10341
volume of testosterone : 294067
Join date : 2013-07-02
Age : 100
Location : AMERICA

http://www.otthunderdome.com

Back to top Go down

alert.exe - a command line util that windows should have had Empty Re: alert.exe - a command line util that windows should have had

Post by salty April 3rd 2015, 6:55 pm

i have since forgotten why i needed this
salty
salty
STILL UNSTOPPABLE

Posts : 10341
volume of testosterone : 294067
Join date : 2013-07-02
Age : 100
Location : AMERICA

http://www.otthunderdome.com

Back to top Go down

The author of this message was banned from the forum - See the message

alert.exe - a command line util that windows should have had Empty Re: alert.exe - a command line util that windows should have had

Post by salty April 3rd 2015, 9:20 pm

roomo wrote:forgive me for asking but what does it actually do
are you blind or do images not show up for you
salty
salty
STILL UNSTOPPABLE

Posts : 10341
volume of testosterone : 294067
Join date : 2013-07-02
Age : 100
Location : AMERICA

http://www.otthunderdome.com

Back to top Go down

The author of this message was banned from the forum - See the message

alert.exe - a command line util that windows should have had Empty Re: alert.exe - a command line util that windows should have had

Post by Total "Chad" April 4th 2015, 6:34 am

i can seee the picture and i have no fucking idea what it does
Total
Total "Chad"
Grand Mac Daddy Big Mac

Posts : 6140
volume of testosterone : 155850
Join date : 2014-09-01
Age : 24
Location : florida swamp

http://www.otthunderdome.com/

Back to top Go down

The author of this message was banned from the forum - See the message

alert.exe - a command line util that windows should have had Empty Re: alert.exe - a command line util that windows should have had

Post by salty April 12th 2015, 7:22 pm

SmokeTheHardest 420 2k15 wrote:i can seee the picture and i have no loving idea what it does
it lets you display a message prompt for whatever reason you might want to do that
salty
salty
STILL UNSTOPPABLE

Posts : 10341
volume of testosterone : 294067
Join date : 2013-07-02
Age : 100
Location : AMERICA

http://www.otthunderdome.com

Back to top Go down

alert.exe - a command line util that windows should have had Empty Re: alert.exe - a command line util that windows should have had

Post by salty April 1st 2020, 12:19 pm

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
salty
salty
STILL UNSTOPPABLE

Posts : 10341
volume of testosterone : 294067
Join date : 2013-07-02
Age : 100
Location : AMERICA

http://www.otthunderdome.com

Back to top Go down

alert.exe - a command line util that windows should have had Empty Re: alert.exe - a command line util that windows should have had

Post by Mac B April 15th 2020, 10:57 am

salty 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
that attitude is valid and american
Mac B
Mac B
CASIO MT220

Posts : 6191
volume of testosterone : 213331
Join date : 2015-04-20
Age : 161
Location : sweet baby rays

Back to top Go down

alert.exe - a command line util that windows should have had Empty Re: alert.exe - a command line util that windows should have had

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum