Announcement

Collapse

Contacting HomeSeer This Week

HomeSeer is open and operational this week. All orders are being processed and shipped as usual. However, some staff are working from home. If you need to contact HomeSeer for support or customer service, please use our Email or Chat options. https://homeseer.com/contact-us/
See more
See less

Jon00 Disk Defragmenter Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Jon00 Disk Defragmenter Script

    Hello,

    1. I just installed the Jon00 Disk Defragmenter Script (on HS2) and I get the following error when I hit the "Test" button from adding event screen:


    Code:
    11/22/2006 5:35:28 PM  - Info - Running script in background: Defrag.vb("main","")
    11/22/2006 5:35:31 PM  - Error 2 - Cannot run script Defrag.vb, entry point function not found: "main"

    Can someone help with that please?

    2. Just a questions.
    What is happening if another script will shotdown or restart the computer during defragmentation?


    Thank you very much,
    Clement

  • #2
    Clement,

    I suspect you copied & pasted the optional parameters from the word document supplied. Unfortunately, Word modifies the quotation marks to make them slanted.

    Copy this to your optional parameters and see if it works:

    ("main","")

    As for your other question, Windows will automatically close the defrag utility should you shut down.
    Jon

    Comment


    • #3
      Thank you Jon,

      You are absolutely right.

      Everything is ok now.

      Best regards,
      Clement

      Comment

      Working...
      X