core
Class StartupShortcut

java.lang.Object
  extended by core.StartupShortcut

public class StartupShortcut
extends java.lang.Object

This class provides the methods for adding and removing shortcuts to the user's Startup folder in the Start Menu on a Windows based system. The methods will execute VB Scripts stored in the vbs folder.


Constructor Summary
StartupShortcut()
          Creates a new StartupShortcut object.
 
Method Summary
static void addStartupShortcut()
          Adds a shortcut to the user's startup menu by executing the add_shortcut.vbs script in the vbs folder.
static void removeStartupShortcut()
          Removes a shortcut from the user's startup folder in a windows start menu by executing the remove_shortcut.vbs file in the vbs folder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartupShortcut

public StartupShortcut()
Creates a new StartupShortcut object.

Method Detail

addStartupShortcut

public static void addStartupShortcut()
Adds a shortcut to the user's startup menu by executing the add_shortcut.vbs script in the vbs folder. More than one shortcut will not be created.


removeStartupShortcut

public static void removeStartupShortcut()
Removes a shortcut from the user's startup folder in a windows start menu by executing the remove_shortcut.vbs file in the vbs folder.