Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 21, 2013, 11:22:54 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: "C:\$\" And Sub-Directories Handling  (Read 769 times)
pauljayd
JkDefrag Junior
**
Posts: 5


View Profile
« on: March 20, 2010, 03:32:20 pm »

I place all my work under the directory  "C:\$\" and in sub-directories (c:\$\Downloads, c:\$\Archive, etc.).
It makes for easy backup, typing, etc.,... a carry-over from early DOS days, I guess.
Anyway, I'm wondering what to do with the OptimizeMonthly, OptimizeDaily scripts, since they contain the exclusion for Zone 4, FileSelect, not  ... (or) DirectoryName("$*").
Should I precede/follow this with some other specification?

Thanks

 
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: March 20, 2010, 04:00:44 pm »

The "DirectoryName("$*")" line in the standard MyDefrag scripts will cause any directory with a name that begins with a dollar, not to be placed in the zone for regular files (zone 5), but in the next zone (zone 6). There are several things you can do, for example change the line into something like this:
Code:
or (DirectoryName("$*") and not(DirectoryName("$")))
Note: you will have to do something similar for SelectNtfsSystemFiles().
Logged
pauljayd
JkDefrag Junior
**
Posts: 5


View Profile
« Reply #2 on: March 25, 2010, 02:08:39 am »

Thanks for the response.
You've created a great utility here.

Paul
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!