HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: how to run HTTrack recursively
Author: William Roeder
Date: 01/29/2010 16:57
 
> Ok I'll explain your codes with my words, 
> 
> first copy doit.log to doit.bat
> then I don't understand with double all percents (my
> perception is %% httrackhttrack in the beginning of
> the line in the doit.bat files) CMIIW. 
> then in command line type all the things that you
> wrote. 
Percents are variable substitution in batch files.
If there are any percents in the doit.bat, you double them to prevent that. I
forgot about angle brackets. If you doit has them they must be quoted (with a
caret or inside quotes) also.
Here's my doit.log:
-qir9C2%PnxX0s0u1Z%s%uN4%I0p7DaK0c5T60J5R2H3%kf2o0A97280%c5%f#f -F
"Mozilla/4.0 (compatible; MSIE 5.0; Win32)" -%F "<!-- Mirrored from %s%s by
HTTrack Website Copier/3.x [XR&CO'2004], %s -->" -%l "en, en, *"
<http://www.httrack.com/> -O1 "C:\\Documents and Settings\\Bill\\My
Documents\\_internetDLed\\httrack" +*.css +*.js -ad.doubleclick.net/*
-*microsoft* +*.gif +*.jpg +*.png +*.tif +*.bmp +*.mov +*.mpg +*.mpeg +*.avi
+*.asf +*.mp3 +*.mp2 +*.rm +*.wav +*.vob +*.qt +*.vid +*.ac3 +*.wma +*.wmv
-*.zip -*.tar +*.tgz -*.gz +*.rar +*.z +*.exe -*.gif[<9] -*.jpg[<9] -*=D
-*/src/*
File generated automatically on Fri, 06 Nov 2009 09:38:01, do NOT edit

To update a mirror, just launch httrack without any parameters
The existing cache will be used (and modified)
To have other options, retype all parameters and launch HTTrack
To continue an interrupted mirror, just launch httrack without any parameters
Here's the batch file:
"C:\Program Files\WinHTTrack\httrack.exe"
-qir9C2%%PnxX0s0u1Z%%s%%uN4%%I0p7DaK0c5T60J5R2H3%%kf2o0A97280%%c5%%f#f -F
"Mozilla/4.0 (compatible; MSIE 5.0; Win32)" -%%F "<!-- Mirrored from %%s%%s by
HTTrack Website Copier/3.x [XR&CO'2004], %%s -->" -%%l "en, en, *"
<http://www.httrack.com/> -O1 "C:\\Documents and Settings\\Bill\\My
Documents\\_internetDLed\\httrack" +*.css +*.js -ad.doubleclick.net/*
-*microsoft* +*.gif +*.jpg +*.png +*.tif +*.bmp +*.mov +*.mpg +*.mpeg +*.avi
+*.asf +*.mp3 +*.mp2 +*.rm +*.wav +*.vob +*.qt +*.vid +*.ac3 +*.wma +*.wmv
-*.zip -*.tar +*.tgz -*.gz +*.rar +*.z +*.exe -*.gif[^<9] "-*.jpg[<9]" -*=D
-*/src/*

The at is the command line equivalent of the scheduler. typing at give
something like:
>at
Status ID   Day                     Time          Command Line
-------------------------------------------------------------------------------
        1   Each M                  2:30 AM       "C:\Documents and
Settings\Bill\My Documents\CLPrograms\myDefrag\defrag.bat"
        2   Each T                  2:30 AM       "C:\Documents and
Settings\Bill\My Documents\CLPrograms\myDefrag\defrag.bat"
 
Reply Create subthread


All articles

Subject Author Date
how to run HTTrack recursively

01/28/2010 12:35
Re: how to run HTTrack recursively

01/28/2010 17:18
Re: how to run HTTrack recursively

01/29/2010 04:31
Re: how to run HTTrack recursively

01/29/2010 05:04
Re: how to run HTTrack recursively

01/29/2010 16:57




a

Created with FORUM 2.0.11