Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Batch File Help


  • Please log in to reply
2 replies to this topic

#1 ikilledsanta

ikilledsanta

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:01:58 AM

Posted 20 July 2006 - 06:21 PM

i havent written a batch file (besides an autorun for a cd) ever. so i was trying to make one, and it failed miserably. this is what i want:

1) to wait like 45 minutes
2) to shutdown every computer on the network (network is named DURANT...don't know if you need that)...make sure it uses shutdown -g so that it gives you 30 seconds to save everything.

i can handle the rest.

if someone could write a .bat that does this, i would be very happy. thanks to anyone who replies.

BC AdBot (Login to Remove)

 


m

#2 Joshuacat

Joshuacat

    01001010 01000011


  • Members
  • 1,950 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Ontario, Canada
  • Local time:01:58 AM

Posted 20 July 2006 - 07:19 PM

I don't have time to give the complete answer right now, but here are some links that will help you with your research for creating the batch file.

http://www.beyondlogic.org/solutions/shutdown/shutdown.htm

http://www.microsoft.com/resources/documen...n.mspx?mfr=true

http://www.sysinternals.com/Utilities/PsTools.html

http://www.windowsnetworking.com/kbase/Win...acesAT.exe.html
JC

#3 ikilledsanta

ikilledsanta
  • Topic Starter

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:01:58 AM

Posted 02 August 2006 - 08:38 PM

sorry about the late post...i forgot about it till now. thanks for the help.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users