Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
April 24, 2014, 10:17:49 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: Help me make my script (newbie)  (Read 1289 times)
WDFreak
JkDefrag Supporter
***
Posts: 19


View Profile
« on: February 01, 2012, 03:48:31 am »

I want to do the Datamonthly script on my e: and i: drives exluding c: which is a sdd. Can anyone post a ready script for me? The FAQ are too hard to understand as it is now. It should be simplified.

Thanks!
Logged
Darlis
JkDefrag Hero
*****
Posts: 1762


View Profile WWW
« Reply #1 on: February 01, 2012, 06:16:45 pm »

How do you execute this script? The usual way of doing so is by running the MyDefrag GUI where you can select the volumes that should be processed. If you're using the command line or similar you can add the volumes as parameters.

If you want to edit the script, replace the VolumeSelect with this one:
Code:
VolumeSelect
  Name("e:") or Name("i:")
VolumeActions
Logged

Need help creating a script? Try MyDefrag Script Creator.
WDFreak
JkDefrag Supporter
***
Posts: 19


View Profile
« Reply #2 on: February 04, 2012, 05:38:35 pm »

How do you execute this script? The usual way of doing so is by running the MyDefrag GUI where you can select the volumes that should be processed. If you're using the command line or similar you can add the volumes as parameters.

If you want to edit the script, replace the VolumeSelect with this one:
Code:
VolumeSelect
  Name("e:") or Name("i:")
VolumeActions

Well neither. I want it excecuted by the task scheduler. '

Thanks!
Logged
Darlis
JkDefrag Hero
*****
Posts: 1762


View Profile WWW
« Reply #3 on: February 04, 2012, 05:54:06 pm »

Then you'll have to edit the script. You have to at least add WhenFinished(Exit) before the VolumeSelect, otherwise MyDefrag won't close automatically. To select the right volumes you have to use parameters or edit the script (see my code above).
Logged

Need help creating a script? Try MyDefrag Script Creator.
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!