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


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 07-18-2005, 09:33 AM   #1
In Runtime
 
Join Date: Feb 2005
Posts: 128
Default how to make a command prompt

just wondering how i can make a command prompt to restart my comp if you open the file? my mate made one and sent it to me and it shut down my comp but wont tell me how i ca make it.

please help
__________________

nick_w is offline   Reply With Quote
Old 07-18-2005, 11:42 AM   #2
Fully Optimized
 
UK31337's Avatar
 
Join Date: Feb 2005
Posts: 2,776
Default

Hmm,

I don't know what you mean by it being a "Command Prompt" - did it open in the Command Prompt like a console app?

Or did you double-click and your machine rebooted? Or was it part of a bigger program entirely?

I need more information to be able to help, I'm afraid.
__________________

__________________
Master of common sense. If you don't like it, stop reading.
UK31337 is offline   Reply With Quote
Old 07-19-2005, 10:10 AM   #3
In Runtime
 
Join Date: Feb 2005
Posts: 128
Default Re: how to make a command prompt

Quote:
Originally Posted by malbuc87uk
Hmm,

I don't know what you mean by it being a "Command Prompt" - did it open in the Command Prompt like a console app?

Or did you double-click and your machine rebooted? Or was it part of a bigger program entirely?

I need more information to be able to help, I'm afraid.
ok i no how to make that but now i just need to know how to change the description type from remote shutdown tool to somthing else not sure how to do that
nick_w is offline   Reply With Quote
Old 07-19-2005, 02:03 PM   #4
BSOD
 
Syn7ax 3rror's Avatar
 
Join Date: Apr 2005
Posts: 461
Send a message via AIM to Syn7ax 3rror Send a message via MSN to Syn7ax 3rror
Default Re: how to make a command prompt

A simple console app. exe. All you need to do is write the do a new icon thing and enter some weird thing. I had mine shut down my comp, but deleted it.
Syn7ax 3rror is offline   Reply With Quote
Old 07-19-2005, 03:32 PM   #5
Baseband Member
 
Join Date: Sep 2004
Posts: 95
Default Re: how to make a command prompt

Go to your desktop. Right click and click create shortcut. It will ask you for the path of the shortcut...enter shutdown -t 05...where -t 05 is the amount of time in seconds before the machine shuts down. After you enter this information and hit next or ok, it will ask you what you want to name the shortcut. You can name it anything you want.
__________________
As the sun sets, the earth shall prepare
ksb007 is offline   Reply With Quote
Old 07-19-2005, 03:41 PM   #6
BSOD
 
Computergen's Avatar
 
Join Date: Dec 2004
Posts: 3,175
Default Re: how to make a command prompt

Go to command prompt and type restart -r or here are the following commands

shutdown-%windir%\System32\shutdown.exe -s -t 00
restart-C:\WINDOWS\system32\shutdown.exe -r -t 00
__________________

Computergen 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 09:49 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