Jump to content


command line df c: vs df c:\ /s


1 reply to this topic

#1 OFFLINE   jfj

    Member

  • Members
  • PipPip
  • 13 posts

Posted 17 October 2008 - 03:30 PM

what is the difference between how df.exe behaves when drive defragging vs individual file defragging:

df c:
df c:\ /s

#2 OFFLINE   brb

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 23 October 2008 - 12:26 PM

View Postjfj, on Oct 17 2008, 09:00 PM, said:

what is the difference between how df.exe behaves when drive defragging vs individual file defragging:

df c:
df c:\ /s
The difference I would presume is one would defrag the whole drive and the other would defrag individual files -> I know just stating the obvious, but didn't quite understand the question either.

As for the examples you have quotes, both would do the same since drives are special cases. Instead, if you used something like
df c:\windows -> This would defrag the files under this folder alone
df c:\windows /s -> This would defrag files and folders under the directory recursively