Solved

restart .cmd script w/ unexpected loop

Posted on 2007-04-02
3
411 Views
Last Modified: 2011-10-03
Hello,  I have an SBS 2003 server.   Occasionally I need to remotely restart or shutdown the server.   For restarting I put together a .cmd file with the following line...

shutdown -r -c "scheduled reboot" -d p:1:1

In the past, this has worked great for me, but recently when I double click the Icon, the command window opens and appears to print this line to the window in an endless loop.  

Any Ideas on whats happening?


0
Comment
Question by:gShipon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 250 total points
ID: 18841145
Did you name the cmd file 'shutdown.cmd'?
If so, that's the problem...name it as SysShutdown.cmd or something that's not already taken... ;^)
0
 

Author Comment

by:gShipon
ID: 18841175
wow -- that was it.   nice...
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18841178
Happy to help! :^)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The problem of the system drive in SBS 2003 getting full continues to be an issue, even though SBS 2008 and SBS 2011 are both in the market place.  There are several solutions to this, including adding additional drive space or using third party uti…
I work for a company that primarily works with small businesses as their outsourced IT vendor. As such the majority of these customers utilize some version of Small Business Server. Due to the economics of running a small business, many of these cus…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question