Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
June 19, 2013, 10:51:48 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: ExcludeFiles  (Read 719 times)
Hammer
Newbie
*
Posts: 1


View Profile
« on: October 11, 2009, 08:29:07 pm »

I'm new to MyDefrag so humor me. I want to exclude multiple directories and subordinate files in the supplied scripts. Is the syntax for the following statements correct when inserted before the VolumeSelect statement:

ExcludeFiles(
  FullPath("C:\Data2\WVC54GC Record\*")
  FullPath("C:\Program Files\Linksys\Compact Wireless-G Internet Video Camera\Motion\*")
  FullPath("C:\Program Files\Linksys\Compact Wireless-G Internet Video Camera\Record\*")
  FullPath("C:\Program Files\Linksys\Compact Wireless-G Internet Video Camera\Snapshot\*")
)
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7156



View Profile WWW
« Reply #1 on: October 11, 2009, 08:42:19 pm »

Close, you have to add "or" keywords between the fullpaths. Why not simply run the script? The program checks every script before running it, there is absolutely no way that you can damage your disks by making a mistake in a script.

p.s. Fullpath is very slow, you may want to use DirectoryName which is much faster.
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!