.bat msg box

  • Thread starter Thread starter matty_lynch
  • Start date Start date
M

matty_lynch

how can i make a .bat file so when the msg bat file is run it will
display a msg box saying sum thing like this:

You have loged on using:(thereusername) on Computer: (Thecomputername)
all your actions and files will be moniterd for scurity purposes

i dont mind if you car’t do the bits in brakets but it wud be a
bonus

thanks
Matthew lynch
 
Try this:

@echo off
echo.
echo Today is %date%.
echo You are logged on as %UserName% on computer %ComputerName%.
echo.
echo All your actions will be monitored for security purposes.
echo.
echo Press the Space Bar to close this window.
pause > nul

I strongly recommend that you have your final message
checked by someone else for correct spelling etc., because
if you don't fix up such errors then your message will lose
some of its impact.


matty_lynch said:
how can i make a .bat file so when the msg bat file is run it will
display a msg box saying sum thing like this:

You have loged on using:(thereusername) on Computer: (Thecomputername)
all your actions and files will be moniterd for scurity purposes

i dont mind if you carâ?Tt do the bits in brakets but it wud be a
bonus

thanks
Matthew lynch

--
Posted using the http://www.windowsforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.windowsforumz.com/General-Discussion-bat-msg-box-ftopict423575.html
Visit Topic URL to contact author (reg. req'd). Report abuse:
http://www.windowsforumz.com/eform.php?p=1417450
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top