Login Register


Defrag your disk using batch file [DiamonD.ZeuS Tutorial] filter_list
Author
Message
Defrag your disk using batch file [DiamonD.ZeuS Tutorial] #1
Hello Smile

Recently, I enjoyed defrag my disk using batch file . Which is more easy for me .
Actually, it's just the same if you opened the Disk Defragmenter . But this is more easier and automated . Ok, let's start.

STEP 1
Make a new .txt file (which you will save as .bat later)

STEP 2
*READ THE CODE INFO AT THE END OF THIS POST IF YOU WANT TO CHANGE THE CODE*

Paste this code :
Code:
@echo off defrag /C /H /U /V
This is the code that I use.

STEP 3
Save it as .bat file.

/MORE INFO ABOUT THE CODE/

If you want to change the code that I've posted, follow these steps.

STEP 1 : Open up Command Prompt (Start+R . Type CMD and Click OK)
STEP 2 : type 'defrag' (without quotes) and hit Enter

You will see all the details about the code and commands .

Good luck Smile
No PAIN, No GAIN!

Reply

RE: Defrag your disk using batch file [DiamonD.ZeuS Tutorial] #2
I fail to see how this differs from using the task scheduler instead of running the batch script Windows will launch the defrag utility when specified simple set up and forget
If you need help feel free to PM me
[Image: klfpJD]
Probitcoin
Freebitcoin
BTC clicks
bitcoin wallet:
1FBPAanbs3rJU9BUpobpDJc9hHUaCaC25N

Reply

RE: Defrag your disk using batch file [DiamonD.ZeuS Tutorial] #3
how different bw defrag by third party soft and cmd?

Reply

RE: Defrag your disk using batch file [DiamonD.ZeuS Tutorial] #4
@chmod is right. The defrag command is no different from the actual program. It's just running through command prompt.
This is actually the case for a good chunk of batch commands. They're just emulated through the terminal but they're really their corresponding windows/linux/whatever command.
(Someone might want to move this to batch, by the way)
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.

Reply

RE: Defrag your disk using batch file [DiamonD.ZeuS Tutorial] #5
(05-28-2014, 12:06 PM)Jinxed Wrote: @chmod is right. The defrag command is no different from the actual program. It's just running through command prompt.
This is actually the case for a good chunk of batch commands. They're just emulated through the terminal but they're really their corresponding windows/linux/whatever command.
(Someone might want to move this to batch, by the way)

It's actually the opposite, the defrag program is just a graphical front end for the command and relevant switches. This is how most GUI tools are. They are built for 5 he command line and then the GUI is added later.
If you need help feel free to PM me
[Image: klfpJD]
Probitcoin
Freebitcoin
BTC clicks
bitcoin wallet:
1FBPAanbs3rJU9BUpobpDJc9hHUaCaC25N

Reply

RE: Defrag your disk using batch file [DiamonD.ZeuS Tutorial] #6
To my mind, Disk Defrag was useful for windows xp. For windows 7 it's not useful. This is my mind.

Reply

RE: Defrag your disk using batch file [DiamonD.ZeuS Tutorial] #7
(05-28-2014, 04:52 PM)gioo1331 Wrote: To my mind, Disk Defrag was useful for windows xp. For windows 7 it's not useful. This is my mind.

defragmenting a hard drive is still essential on a Windows machine if you want to keep it running well because of the way it stores files NTFS (and the more or less redundant FAT32) does not allocate enough clusters on the drive to allow for expansion and modifications, so after a while you end up with files split across multiple parts of the drive. All defragmenting does is to rearrange this data so that they are on continuous clusters and as such reduces the amount of time it takes for your drive to read these files.
If you need help feel free to PM me
[Image: klfpJD]
Probitcoin
Freebitcoin
BTC clicks
bitcoin wallet:
1FBPAanbs3rJU9BUpobpDJc9hHUaCaC25N

Reply







Users browsing this thread: 1 Guest(s)