Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Using autoit for more than Silent installs

Featured Replies

Hi ive finished all the tweaks i want for my xpcd but one thing bothers me...when i first load it it needs defraggin.....ive tried using widows basic defragger but it just hangs so i got myself diskeeper 10 and wanted to know if someone could write or knows a script that would automatically set it to defrag the harddrive and then auto shut down the pc? Thanks in advance!!!

I'm using Diskeeper2007 and do it this way:

1) Extract needed files to the Program Files directory using WinRAR with the following comment:

Path=Diskeeper Corporation\Diskeeper
SavePath
Setup=Install.exe
Silent=1
Overwrite=1

Install.exe is a compiled AutoIt script that runs after extraction:

TrayTip('Unattended Installation', 'Installing Diskkeeper 2007 Pro Premier . . . please wait . . .', 0, 1)
RunWait('msiexec /i "' & @ProgramFilesDir & '\Diskeeper Corporation\Diskeeper\DK2007.msi" /qn')
Sleep(500)
FileDelete(@ProgramFilesDir & '\Diskeeper Corporation\Diskeeper\DK2007.msi')
TrayTip("clear tip","",0)

TrayTip('Unattended Installation', 'Defragmenting the C: partition . . . please wait . . .', 0, 1)
RunWait ( @ComSpec & " /c Diskeeper C", "", @SW_HIDE )
TrayTip("clear tip","",0)

Nice. The Diskeeper2007 user manual has a brief section entitled "Running Diskeeper From the Command Prompt" spelling it out clearly. You can defragment multiple partitions by repeating the command and specifying different drive letters, no harm done if the drives are optical or do not exist. Lastly, you can shut down the machine by adding 'Shutdown(x)' to the end of the AutoIt script, where 'x' is any of several values. You're going to need to install AutoIt anyway to compile the script, might as well take a peek at the help file, eh? But 'Shutdown(1)' should work fine.

Edited by blinkdt

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.