ImportBookmarks

Top  Previous  Next

ImportBookmarks parameters

 

Imports all/new bookmarks from a defined source file to a specified folder.

 

Parameters

 

/IE ... Import Favorites from Internet Explorer
/Opera ... Import Bookmarks from Opera
/Firefox ... Import Bookmarks from Firefox
/Chrome ... Import Bookmarks from Chrome

 

/Text1 ... Import URLs from a text file (one URL per line). The file must be stored in Ansi or UTF8 format.
/Text2 ... Import URLs from a text file (format per line: Name TAB Url). The file must be stored in Ansi or UTF8 format.
/TextIgnoreDuplicates ... If bookmarks are imported from a text file, you can optionally ignore duplicates (slower). . Works only in combination with /Text1 or /Text2.

 

/WSW ... Import bookmarks from a WebSite-Watcher export file

 

/Excel ... Import bookmarks from an Excel file. See also topic Import from Excel / CSV
/CSV ... Import 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, then the bookmark is not inserted but the properties are updated. Works only in combination with /Excel or /CSV.

 

/file="..." ... specifies the file from where the bookmarks should be imported. This parameter works only in combination with the Flags /Text1, /Text2 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 contain a trailing backslash. See also Predefined variables.

 

/targetfolder="..." ... Target folder in WebSite-Watcher into which the imported bookmarks should be stored. A backslash can be used to define subfolders (eg. "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 Internet-Explorer and Opera

ImportBookmarks /IE /targetfolder="Import\Internet Explorer"

ImportBookmarks /Opera /targetfolder="Import\Opera"

 

// Import from WebSite-Watcher Export file

ImportBookmarks /WSW /file="c:\123\exp.zip" /targetfolder="Import\WSW"




Translate document: