ImportBookmarks parameters


Imports all or new Bookmarks from a specified source file into a specified folder.


Parameters


  • /Text1 ... Imports URLs from a text file, one URL per line. The file must be stored in ANSI or UTF8 format.
  • /Text2 ... Imports URLs from a text file, one entry per line in the format: Name TAB URL. The file must be stored in ANSI or UTF8 format.
  • /TextIgnoreDuplicates ... If Bookmarks are imported from a text file, duplicates can optionally be ignored. This option is slower and works only in combination with /Text1 or /Text2.

  • /WSW ... Imports Bookmarks from a WebSite-Watcher export file.

  • /Excel ... Imports Bookmarks from an Excel file. See also topic Import from Excel / CSV
  • /CSV ... Imports Bookmarks from a CSV file. See also topic Import from Excel / CSV
  • /duplicates=insert ... Inserts all duplicates. Works only in combination with /Excel or /CSV.
  • /duplicates=ignore ... Does not import duplicates. Works only in combination with /Excel or /CSV.
  • /duplicates=update ... If a Bookmark already exists, it is not inserted again, instead its properties are updated. Works only in combination with /Excel or /CSV.

  • /Chrome ... Imports Bookmarks from Chrome.
    /Firefox ... Imports Bookmarks from Firefox.

  • /file="..." ... Specifies the file from which the Bookmarks are imported. This parameter works only in combination with the flags /Text1, /Text2, /Excel, /CSV, and /WSW. You can use the variables {programdir} and {bookmarkdir}. {programdir} is the installation directory of WebSite-Watcher. {bookmarkdir} is the directory of the currently opened Bookmark file (*.wsw). Both variables include a trailing backslash. See also Predefined variables.

  • /targetfolder="..." ... Specifies the target folder in WebSite-Watcher where the imported Bookmarks are stored. A backslash can be used to define subfolders, for example "folder\subfolder".



Example:

// Import from Excel file
ImportBookmarks /Excel /file="{programdir}import.xls" /targetfolder="xls" /duplicates=update

// Import from CSV file
ImportBookmarks /CSV /file="{programdir}import.csv" /targetfolder="csv" /duplicates=ignore

// Import from text file
ImportBookmarks /Text1 /file="{programdir}text1.txt" /targetfolder="Import\Text-1"
ImportBookmarks /Text2 /file="{programdir}text2.txt" /targetfolder="Import\Text-2"

// Import from WebSite-Watcher Export file
ImportBookmarks /WSW /file="c:\123\exp.zip" /targetfolder="Import\WSW""