Flag This Hub

Display Pop Up Message Using Cmd

By


cmd

cmd
cmd

So here is a simple command code which will accept the name of the user and show it in the pop up message

@ECHO OFF
title by AthulExe @ TricksOverdrive
:s
echo hey whats you're name ?
set /P name=
:disp
cls
title by AthulExe @ TricksOverdrive
msg * "hi %name% hope you enjoyed this cmd code :)"
msg * "more cool tricks at www.tricksoverdrive.co.cc"
:exit


to display a pop up message using cmd what u have to do is

use the code

msg * "the message whihc should be shown in the pop up box"

set /P function is used to accept a value from the user

and %name% display the value stored in %name%

how to use this cool trick ?

u can put you customized cmd code in a note pad and save it as TITLE.bat

and copy it and paste it in you'r freinds startup

so it will display this code each time he switch ons his pc

or u can put it in your pen-drive and use autorun file to open it

so when ever someone opens your pen-drive it will display your personal message


Comments

No comments yet.

Submit a Comment
Members and Guests

Sign in or sign up and post using a hubpages account.



    Like this Hub?
    Please wait working