© J.C. Kessels 2009
MyDefrag Forum
June 19, 2013, 10:51:48 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
MyDefrag Forum
>
MyDefrag v4 Forum
>
Questions and help
>
ExcludeFiles
Pages: [
1
]
« previous
next »
Print
Author
Topic: ExcludeFiles (Read 719 times)
Hammer
Newbie
Posts: 1
ExcludeFiles
«
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
Re: ExcludeFiles
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
MyDefrag v4 Forum
-----------------------------
=> Announcements
=> Questions and help
=> Bugs and problems
=> Requests for new features
=> Scripts, and other contributions
-----------------------------
JkDefrag v3 Forum
-----------------------------
=> Announcements
=> Questions and help
=> Bugs and problems
=> Requests for new features
=> Programming with the library
Loading...