Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Command Prompt at Startup

07 Jul 2012   #10
joaodiogo321

Windows 7 Home Premium 64bit
 
 

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 10 Pro
 
 

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
 
 

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 10 Pro
 
 

You're most welcome.
My System SpecsSystem Spec
.

09 Jul 2012   #14
joaodiogo321

Windows 7 Home Premium 64bit
 
 

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 10 Pro
 
 

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
 
 

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 10 Pro
 
 

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
 
 

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?
My System SpecsSystem Spec
09 Jul 2012   #19
Brink

64-bit Windows 10 Pro
 
 

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




Tutorial Tools




Similar help and support threads
Windows 7 Tutorial Category
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
How to fix MBR through command prompt?
Question: What commands could I run in the command prompt during the system recovery? I try & run say "fixmbr" but it doesn't work. Say if I want to write a new master boot record how would I do that?
General Discussion
Command Prompt
How to Open a Command Prompt in Windows 7 This will show you how to open only a non-elevated a command prompt without administrator rights instead of an elevated command prompt with administrator rights (Run as administrator) in Windows 7. Some commands will need to be used in an elevated...
Tutorials
command prompt
Hi all i need you help me a thing :cry: I went to use autosave all text on command prompt (CMD), how can i do or use what command prompt cade for mark it autosave when i used command prompt. Example : Color 0a
General Discussion
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Command Prompt
Ok so every time I try to open the command prompt using an external source (batch file, small c++ program i made to say Hi to me through the command prompt) it instantly closes. Does anyone have any idea why this is happening and if so how can I fix it? Thanks, Wave
General Discussion


Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 10:56.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App