Command Line Parameters
Offline Explorer Enterprise supports command line parameters to enable integration with other software such as third-party schedulers, etc.
Command line parameters allow one or more Projects to begin downloading when Offline Explorer Enterprise is executed.
The format is: <Folder_name>/<Number_Project_in_Folder>. The Project numbers are counted from zero. Thus, if there are five Projects in the folder "Sports" and you want to start the first and the last Projects in the folder, you would type:
OE.exe Sports/0 Sports/4
You may type Projects from different folders:
OE.exe Sports/3 Auto/5 Space/1
The Projects specified should be divided with space(s.) You may also put "all" instead of the Project number to start downloading all Projects in the folder:
OE.exe Sports/all
You may use the parameter "/close" to exit Offline Explorer Enterprise a few seconds after the download is complete. This is useful if you want to download a few Projects automatically and then quit Offline Explorer Enterprise to save memory and other resources. /CloseNoCountdown will force Offline Explorer Enterprise to quit silently, without displaying the close countdown dialog.
OE.exe Sports/3 /close
If you want your computer to shut down a few seconds after all downloads are complete, you may use the "/shutdown" parameter.
OE.exe Sports/3 /shutdown
If you want Offline Explorer Enterprise to hang up the dialup connection shortly after all downloads are complete, you may use the "/hangup" parameter.
OE.exe Sports/3 /hangup
To browse some Project in Internal browser, supply its Folder/number after the /Browse parameter:
OE.exe /Browse Sports/3
To backup a Project, supply its Folder/number after the /Backup=<file> parameter:
OE.exe /Backup=c:\file.boe Sports/3
You can enable automatic logging to a file using the syntax:
OE.exe /log=c:\dir\file.log
To stop logging, start another copy of Offline Explorer Enterprise with the “/nolog” parameter.
To filter the amount of the logging information, use /LogFilter=1111101 parameter. Each number allows (1) or (0) disallows to output the following information: connection, download progress, detailed information (headers, etc.), disconnection, queue messages, accesses to the Internal Web server and rejected URLs.
By default, if the log file exceeds 100 MBs, Offline Explorer Enterprise erases it and starts from the scratch. To change the limit, use /MaxLogSize=10 parameter, where the number specifies log file limit in megabytes.
If you suspended downloads to .wdq files, you can supply the .wdq filename in the command line to load it into Offline Explorer Enterprise:
OE.exe "c:\path\myqueue.wdq"
To suspend the current download to a file, use the following command line parameter:
OE.exe /SuspendToFile=c:\dir\file.wdq
The same way you can restore a Project backup file:
OE.exe "c:\path\mybackup.boe"
When starting, Offline Explorer Enterprise loads bookmarks/favorites/hot lists found in your system. This may take some time. If you want to skip loading, use the following parameter:
OE.exe /NoBookmarks
By default, Offline Explorer Enterprise creates Project Maps for every Project when downloading it. Map simply lists all files downloaded for a Project. It is used when deleting a Project with its files, for backup/export/cleanup/print/statistics/find contents/data mining and other features. However if you want to skip supporting Maps, start Offline Explorer Enterprise this way:
OE.exe /NoMap
You can add a new Project from the command line:
OE.exe "/new=url=http://www.server.com/file.htm,template=template name,folder=Projects folder name"
If you specify run=true in the above line, Offline Explorer Enterprise will create the Project and start downloading it automatically:
OE.exe"/new=url=http://www.server.com/file.htm,url=POST=p1=v1&p2=v2,url=Referer=http://www.srv.com/,run=true,level=3"
Create a new Project, download it, export and delete both Project and downloaded files:
C:\Program Files\Offline Explorer Pro\oe.exe "/new=url=http://www.server.com/file.asp,template=Template1,folder=MyFolder, run=true,level=3,url=Additional=DeleteProjectFiles;DeleteProjectSettings;AutoExport=c:\export\"
You can start Sequencer when Offline Explorer Enterprise runs:
OE.exe /StartSequencer
You can search Project files for contents and save the list of found files to a text file:
OE.exe "/FindContents=Folder/5,c:\directory\file.txt,keyword1 keyword2,05/24/2003 5:20 PM"
Turn off opening Wizard screen at startup:
OE.exe /NoWizard
You can start Offline Explorer Enterprise with maximized Internal Browser:
OE.exe /MaximizeIB
You can start Offline Explorer Enterprise minimized:
OE.exe /Minimize
To quit the running instance of Offline Explorer Enterprise immediately (without waiting for the current download or export to finish) use:
OE.exe /Exit
To wait for the current downloads and export processes to complete and then quit Offline Explorer Enterprise use:
- OE.exe /Close
- OE.exe /CloseNoCountdown
To change the current speed limit:
OE.exe /Speed=2
The parameter can be from 0 to 3, where 0 is the background speed and 3 - maximum.
To change the number of Internet connections use:
OE.exe /Channels=10
To change the delay between downloads:
OE.exe /DownloadsDelay=5
To run a new instance of Offline Explorer Enterprise:
OE.exe /Instance |