Command Line Parameters

Portable Offline Browser 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 Portable Offline Browser 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:

pob.exe Sports/0 Sports/4

You may type Projects from different folders:

pob.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:

pob.exe Sports/all

You may use the parameter "/close" to exit Portable Offline Browser a few seconds after the download is complete. This is useful if you want to download a few Projects automatically and then quit Portable Offline Browser to save memory and other resources. /CloseNoCountdown will force Portable Offline Browser to quit silently, without displaying the close countdown dialog.

pob.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.

pob.exe Sports/3 /shutdown

If you want Portable Offline Browser to hang up the dialup connection shortly after all downloads are complete, you may use the "/hangup" parameter.

pob.exe Sports/3 /hangup

To browse some Project in Internal browser, supply its Folder/number after the /Browse parameter:

pob.exe /Browse Sports/3

To backup a Project, supply its Folder/number after the /Backup=<file> parameter:

pob.exe /Backup=c:\file.boe Sports/3

You can enable automatic logging to a file using the syntax:

pob.exe /log=c:\dir\file.log

To stop logging, start another copy of Portable Offline Browser 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, Portable Offline Browser erases it and starts from the scratch. To change the limit, use /MaxLogSize=10 parameter, where the number specifies log file limit in megabytes.

To pause the current download temporarily:

pob.exe /Suspend

To continue the download, use /Resume parameter.

If you suspended downloads to .wdq files, you can supply the .wdq filename in the command line to load it into Portable Offline Browser:

pob.exe "c:\path\myqueue.wdq"

To suspend the current download to a file, use the following command line parameter:

pob.exe /SuspendToFile=c:\dir\file.wdq

The same way you can restore a Project backup file:

pob.exe "c:\path\mybackup.boe"

When starting, Portable Offline Browser loads bookmarks/favorites/hot lists found in your system. This may take some time. If you want to skip loading, use the following parameter:

pob.exe /NoBookmarks

By default, Portable Offline Browser 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 Portable Offline Browser this way:

pob.exe /NoMap

If you allowed tray icon option, but want to hide it (Portable Offline Browser runs invisibly in this case), use:

pob.exe /NoTray

You can add a new Project from the command line:

pob.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, Portable Offline Browser will create the Project and start downloading it automatically:

pob.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:

F:\Portable Offline Browser\pob.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 Portable Offline Browser runs:

pob.exe /StartSequencer

You can search Project files for contents and save the list of found files to a text file:

pob.exe "/FindContents=Folder/5,c:\directory\file.txt,keyword1 keyword2,05/24/2003 5:20 PM"

Turn off opening Wizard screen at startup:

pob.exe /NoWizard

You can start Portable Offline Browser with maximized Internal Browser:

pob.exe /MaximizeIB

You can start Portable Offline Browser minimized:

pob.exe /Minimize

To quit the running instance of Portable Offline Browser immediately (without waiting for the current download or export to finish) use:

pob.exe /Exit

To wait for the current downloads and export processes to complete and then quit Portable Offline Browser use:

pob.exe /Close

or

pob.exe /CloseNoCountdown

To change the current speed limit:

pob.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:

pob.exe /Channels=10

To change the delay between downloads:

pob.exe /DownloadsDelay=5

To run a new instance of Portable Offline Browser:

pob.exe /Instance

To skip showing welcome page in the Internal browser:

pob.exe /NoWelcomePage

Skip saving Projects file when exiting (could be useful when running multiple instances):

pob.exe /NoSaveToFile

Use another directory for Projects, Maps and Templates:

pob.exe /ProjectsDir=c:\OEProjects\