Windows 7 Forums


Windows 7: Command Prompt at Startup

24 Nov 2008   #9
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 
Command Prompt at Startup

How to Open a Command Prompt at Boot in Windows 7

...


Last edited by Brink; 21 Oct 2011 at 10:45 AM..
My System SpecsSystem Spec

07 Jul 2012   #10
joaodiogo321

Windows 7 Home Premium 64bit
Leiria
 
 

Hi Brink

To begin with: Superb thread as all you make are!

Now the question: I want to defrag my my 2 laptop hdds (c: and d: ). In order to get the best results, which option should i use to get to the CMD at boot?

Thanks in advance.
My System SpecsSystem Spec

08 Jul 2012   #11
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

Hello Joaodiogo,

For defrag, OPTION ONE would be best to not have to worry about anything being "in use".

My System SpecsSystem Spec
08 Jul 2012   #12
joaodiogo321

Windows 7 Home Premium 64bit
Leiria
 
 

Quote   Quote: Originally Posted by Brink View Post
Hello Joaodiogo,

For defrag, OPTION ONE would be best to not have to worry about anything being "in use".
well that's what i imagined.
thanks for confirming my suspects!!
My System SpecsSystem Spec
08 Jul 2012   #13
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

You're most welcome.
My System SpecsSystem Spec
.


09 Jul 2012   #14
joaodiogo321

Windows 7 Home Premium 64bit
Leiria
 
 

Hi again.
I wanted to perform the defrag tonight but im not comfortable with the idea of letting my pc on all night.
Does my pc shuts down or restarts automatically after a complete defrag? do i really need to write "exit" or is there any other way?
My System SpecsSystem Spec
09 Jul 2012   #15
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

No, it will not shutdown on it's own when defrag at boot has finished, but it's not going to hurt anything to have it running overnight though. You could turn off the monitor(s), and just leave the computer running until it's finished.

I would recommend to use the command prompt from OPTION ONE.
My System SpecsSystem Spec
09 Jul 2012   #16
joaodiogo321

Windows 7 Home Premium 64bit
Leiria
 
 

Quote   Quote: Originally Posted by Brink View Post
No, it will not shutdown on it's own when defrag at boot has finished, but it's not going to hurt anything to have it running overnight though. You could turn off the monitor(s), and just leave the computer running until it's finished.

I would recommend to use the command prompt from OPTION ONE.
Yeah, you're right. I guess it cant hurt that much!

BTW, im using a laptop, so ill just leave it and it'll turn the monitor off automatically after 15 minutes...

Thanks again!
My System SpecsSystem Spec
09 Jul 2012   #17
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

You're most welcome. You'll most likely need to leave the AC plugged in though.
My System SpecsSystem Spec
09 Jul 2012   #18
joaodiogo321

Windows 7 Home Premium 64bit
Leiria
 
 

Quote   Quote: Originally Posted by Brink View Post
You're most welcome. You'll most likely need to leave the AC plugged in though.
Well... Im with a problem here. i cant get the "defrag" command to work in command prompt from option one no mather what letters i write after it!

Ive tried "defrag.exe -c" and "defrag -c" and it said: "defrag(.exe) is not recognised as an internal or external command, operable program or batch file."

then i tried "c:\windows\system32\defrag.exe -c" and it said: "the resource loader cache doesnt have loaded MUI entry. <0x80073B01> " three times in a row...

What should i do?!

it doesnt work with 2 either... i type the stuff in there and it says:

Microsoft windows defragmenter
Copyright 2007 etc

and does nothing....

any ideas?

Last edited by Brink; 09 Jul 2012 at 10:11 PM.. Reason: merged
My System SpecsSystem Spec
09 Jul 2012   #19
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

It's just that you have the command wrong. It should be this below with a colon after C instead substituting C with the drive letter that you want to defrag. Option Three in the tutorial below can help show you more options as well if you like.

Disk Defragmenter - Open and Use

defrag C: /F
My System SpecsSystem Spec
Comment

 Command Prompt at Startup problems?



Tutorial Tools



Similar help and support threads for: Command Prompt at Startup
Windows 7 Tutorial Category
command prompt General Discussion
Run administrative command prompt from command prompt General Discussion
Solved Command Prompt General Discussion
command prompt bug ? General Discussion
Command Prompt command <ipconfig> not working Network & Sharing


All times are GMT -5. The time now is 03:47 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32