ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Computers & Software»
  • Computer Software

Display Pop Up Message Using Cmd

Updated on February 2, 2011



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

title by AthulExe @ TricksOverdrive
echo hey what's you're name ?
set /P name=
title by AthulExe @ TricksOverdrive
msg * "hi %name% hope you enjoyed this cmd code :)"
msg * "more cool tricks at"

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

use the code

msg * "the message which 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 friends 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


    0 of 8192 characters used
    Post Comment

    • AthulExe-ae profile image

      AthulExe-ae 5 years ago from India

      i used that cls since i've written an echo statement in between, any way the pop up will work fine without that cls. Thanks for you're comments :)

    • profile image

      mann 5 years ago

      if you put @echo off don't need to use cls