Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 10-02-2009
Member
 
Join Date: Jan 2006
Posts: 104
Creating a shutdown Program

Hello I would like to know how to make a program that starts at the same time as xp pro to block shutdown even though it has the attribute 0 sec time and then shutdown the pc it has sent the command. Hope you can help me
__________________
Live, Love, Die, But
···ENjO¥···
Reply With Quote
  #2  
Old 10-02-2009
Member
 
Join Date: Dec 2007
Posts: 1,728
Re: Creating a Program

You create one .Bat that is "shutdown-a" but it did launch once during startup, after if you want to run it regularly is a bit more complicated
Reply With Quote
  #3  
Old 10-02-2009
Member
 
Join Date: Jan 2006
Posts: 104
Re: Creating a Program

that I know but I want it launching automatically when the shutdown is send to my pc and then recovery of the IP of the sender and return of a shutdown command in the opposite direction.
__________________
Live, Love, Die, But
···ENjO¥···
Reply With Quote
  #4  
Old 10-02-2009
Member
 
Join Date: Dec 2007
Posts: 1,592
Re: Creating a Program

normally you can not extinguish a PC with the shutdown command remotely
windows has always denied the shutdown-m ...
It depends on the Rights of the current session
Reply With Quote
  #5  
Old 10-02-2009
Member
 
Join Date: Dec 2007
Posts: 1,542
Re: Creating a Program

Shutdown.exe allows you to either restart or shut down your computer from a command prompt. Optionally, you can create a shortcut to shutdown.exe that is more accessible.

Right click on the Desktop.
Left click on New > Shortcut.

In the Type the location of the item: textbox enter
%windir%\System32\shutdown.exe -s

The -s parameter is used to shut down the computer.

The following two parameters can be used with -s:
-f Forces running applications to close without warning.
-t xx Set timeout for shutdown to xx seconds.

The following command would shut down instantly.
%windir%\System32\shutdown.exe -s -f -t 00

Click the Next > button.

In the Type a name for this shortcut: textbox enter
Shutdown My Computer (or some other name of your choice)

Click the Finish button.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Creating a shutdown Program"
Thread Thread Starter Forum Replies Last Post
How to run program to shutdown pc Eugenia Operating Systems 5 01-06-2011 09:51 PM
Creating Vista Shutdown.bat file BALLARI Operating Systems 3 07-03-2011 05:24 AM
Which program is best for creating torrent on mac Tamkinat Technology & Internet 6 27-06-2010 12:05 AM
Creating Icons for Shutdown and Reboot Orlando Tips & Tweaks 2 21-03-2009 05:29 PM
Creating program in pags. Html Anti_Trend Software Development 1 30-09-2008 07:24 PM


All times are GMT +5.5. The time now is 03:30 AM.