When this is the case, you specify the following syntax in the Run field of a scheduled task
PathLoadstub.exe /L:Loader_GUID [Options]
where the Path, Loader_GUID, and Options parameters are defined as follows:
Argument | Description |
---|---|
/C | Specifies to repair and compact the database. |
/E:Tuning Space GUID | Empties all data from the specified tuning space. If the Tuning Space GUID is not specified, Loadstub empties the tuning space for the loader given in the /L argument |
/R | Specifies to repair the database. |
/X | Specifies to replace the database. The replacement file is specified by the registry entry DBReplacementFile, under the TV Services registry key. Specifying DBReplacementFile enables an application to replace a database programmatically. |
/P | Specifies a partial update. This option allows a loader to implement a "quick" mode and a normal mode. For example, in "quick" mode, a loader might only gather the next four hours of Program Guide data, rather than the next two-and-a-half days. Note: Because the data format varies between loader libraries, this parameter is not handled by the Loadstub component. Instead, Loadstub passes the parameter as an argument to the loader. Thus, in order for this parameter to work, it must be supported by the loader. |
/I:data_location | Specifies the location of the data file. If this parameter is not set, Loadstub uses the location stored in the registry. For the Gemstar G-Guide loader, this parameter specifies the name of the data file. Note: Because the type of data passed into this command-line parameter varies, this parameter is not handled by the Loadstub component. Instead, Loadstub passes the parameter as an argument to the loader. Thus, in order for this parameter to work, it must be supported by the loader. |
/LEH filename | Loads the named enhancement file. |
The following example runs the Gemstar G-Guide loader, loading data from C:\Windows\Temporary Internet Files\Ssdata.bin instead of the location specified in the registry.
"C:\Program Files\TV Viewer\LOADSTUB.EXE" /L:{C94D1940-9F69-11d0-BDB8-0000F8027346} /P /I:"C:\Windows\Temporary Internet Files\ssdata.bin"
Note that because the path to the data contains spaces, it is surrounded by quotation marks. You can also use the short directory names, as shown following:
C:\Progra~1\TV Viewer\LOADSTUB.EXE /L:{C94D1940-9F69-11d0-BDB8-0000F8027346} /P /I:C:\Windows\Tempor~1\ssdata.bin