Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Shutdown Command  (Read 10964 times)

0 Members and 1 Guest are viewing this topic.

Broni


    Mastermind
  • Kraków my love :)
  • Thanked: 614
    • Computer Help Forum
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 8
Re: Shutdown Command
« Reply #15 on: October 21, 2007, 09:33:00 PM »
Hey, patio.
I agree, but it may be confusing.
If you read couple of sentences from PC World description: http://www.pcworld.com/article/id,61687-page,5/article.html
Quote
Q: Is DOS dead in Windows 2000? Can I run an ancient DOS program or two that I still favor?

A: The demise of DOS, to pinch a pithy line from Mark Twain, has been greatly exaggerated.

The terminology surrounding it has changed, but a form of DOS still exists. Windows 2000 calls it the Command Prompt rather than MS-DOS Prompt, and tucks it into the Start, Programs, Accessories menu. Windows 2000 won't let you reboot to the DOS prompt, as Windows 95 and 98 did, but you can run DOS executable files from within Windows 2000.
it sounds pretty clear, doesn't it?

But then, even pros are having some problems: MalekTips
The title says:
Quote
Windows 2000 and DOS Help and Tips

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Shutdown Command
« Reply #16 on: October 21, 2007, 09:39:57 PM »
Quote
but a form of DOS still exists.

Emphasis mine...and therefore the DOS limitations on filenames no longer existed.
I stand by my observation.
Trust me after you see it as much as i have you'll agree.

 ::)
" Anyone who goes to a psychiatrist should have his head examined. "

WillyW



    Specialist
  • Thanked: 29
  • Experience: Experienced
  • OS: Windows XP
Re: Shutdown Command
« Reply #17 on: October 22, 2007, 10:04:30 AM »
Quote
Isn't there a seven character limit that applies in DOS?
Good question, but I believe, it doesn't apply to Win 2K, and later. Those Windows don't use real DOS. If I remember correctly, I was able to execute commands from Command Prompt under Win 2K, which didn't follow "7.3" rule.
I'm too lazy to turn my 2K on, now, so I'll wait for you to try it....LOL

Just a point of clarification:   In plain old MS-DOS,  the format of filename.ext was 8.3 , not 7.3.

.



Broni


    Mastermind
  • Kraków my love :)
  • Thanked: 614
    • Computer Help Forum
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 8
Re: Shutdown Command
« Reply #18 on: October 22, 2007, 05:05:18 PM »
Quote
the format of filename.ext was 8.3
Ooooops!!!....Thanks 8)

Sharamall

  • Guest
Re: Shutdown Command
« Reply #19 on: October 22, 2007, 07:10:45 PM »
That is all fine and dandy, but what about the shutdown command?

Broni


    Mastermind
  • Kraków my love :)
  • Thanked: 614
    • Computer Help Forum
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 8
Re: Shutdown Command
« Reply #20 on: October 22, 2007, 08:30:35 PM »
When you open your Command Prompt, how does your prompt look like?
C:\Documents and Settings\sharmall ?

Broni


    Mastermind
  • Kraków my love :)
  • Thanked: 614
    • Computer Help Forum
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 8
Re: Shutdown Command
« Reply #21 on: October 22, 2007, 09:16:40 PM »
Whatever it is, your syntax should look like this:

cd C:\Documents and Settings\sharmall\Desktop\shutdown
shutdown /l /t:300 "The computer is shutting down" /y /c

Sharamall

  • Guest
Re: Shutdown Command
« Reply #22 on: October 23, 2007, 06:41:31 PM »
You're amazing! It worked to perfection! (Then I had to abort it)

Thank You!

Broni


    Mastermind
  • Kraków my love :)
  • Thanked: 614
    • Computer Help Forum
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 8
Re: Shutdown Command
« Reply #23 on: October 23, 2007, 07:32:07 PM »
You're welcome 8) 8) 8)

but.....

Quote
Then I had to abort it
You're not playing any dangerous games on not yours computers, are you???

Sharamall

  • Guest
Re: Shutdown Command
« Reply #24 on: October 24, 2007, 01:42:08 PM »
No, I just tested it and the shutdown window appeared and I'm like like Yay! It worked! But then I'm like, holy crap it is going to close all my open programs! (Plus it takes forever for this to reboot Pentium II [laptop]) So I aborted it.

trespasser

  • Guest
Re: Shutdown Command
« Reply #25 on: October 24, 2007, 04:40:35 PM »
Guys just a thought, but if I can add to the original question of shutting down.  If your going to use a prompt to shut down the machine...... why not link it to "xcopy" and back up some files along the way.

One of my original thoughts was to copy documents when i finished with the computer for the night, then i got sick of coming back an hour later to turn it off so I ended up linking the two together.  My pc now has a single "backup" button on the quickstart menu that initiates the backup and then switches the machine off after its done.  A few weeks after that paranoia got me, so I got it to creat a "logfile.txt" after each backup so i could check when it was last completed.

contrex

  • Guest
Re: Shutdown Command
« Reply #26 on: October 26, 2007, 04:16:33 PM »
If your going to use a prompt to shut down the machine...... why not link it to "xcopy" and back up some files along the way.
[...]  I got it to creat a "logfile.txt" after each backup so i could check when it was last completed.

This is exactly what I do every shutdown.