Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 12-06-2009, 02:35 PM   #1
Daemon Poster
 
Join Date: Oct 2006
Posts: 684
Default code

Is this the right code for displaying a message and how do i make it timed so it dissappears after 20 sec

Code:
msg [message]
shellexecute=[]
Is there a way for the shutdown dialog to come up but it doesn't shutdown
__________________

__________________
AMD 64 x2 5600+|Asus m3a|4GB RAM|Nvidia Geforce 9500 gt|320 GB Seagate Hard Drive
ringtemek is offline   Reply With Quote
Old 12-06-2009, 03:12 PM   #2
Baseband Member
 
MartinC.'s Avatar
 
Join Date: Nov 2009
Posts: 56
Default Re: code

What programing language is this? Also, not sure if this helps, but you can make a vbs file that says shutting down in x seconds.
__________________

__________________
all your base are belong to us
MartinC. is offline   Reply With Quote
Old 12-06-2009, 03:29 PM   #3
Daemon Poster
 
Join Date: Oct 2006
Posts: 684
Default Re: code

it just commands through notepad .bat format
__________________
AMD 64 x2 5600+|Asus m3a|4GB RAM|Nvidia Geforce 9500 gt|320 GB Seagate Hard Drive
ringtemek is offline   Reply With Quote
Old 12-06-2009, 04:08 PM   #4
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: code

Quote:
Is there a way for the shutdown dialog to come up but it doesn't shutdown
If you want the machine to shutdown, use the shutdown command.

So to force a shutdown after 20 seconds, you'd have something like:

Code:
shutdown -s -f -t 20
berry120 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 01:14 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0