HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Update Cache, if available
Author: Haudy Kazemi
Date: 03/04/2003 19:15
 
> I'm already controlling this from VB using the command 
line 
> shell. The command options I am using are :
> 
>  -%c10 -x -o0 -Z -I0 -%I0 -p1 -l -N0 
> 
> This still prompts for whether I want to update the cache 
> in a DOS window, where the cache file exists.
> 
> Any further thoughts?> 
> Stevod

This may or may not work, but have you tried piping the 
appropriate keyboard reply character to the command line 
you create above?  I'm thinking about the i/o redirectors 
built into the command shell like |, <, <<, >, >>.  I think 
you could try something like:
-create a text file containing a single 'letter' response 
(Say, response.txt with just one 'a' in it.)
-then try C:\> type response.txt | httrack -%c10 -x -o0 -Z -
I0 -%I0 -p1 -l -N0 

or maybe:
C:\> httrack -%c10 -x -o0 -Z -I0 -%I0 -p1 -l -N0 < a

Search google for more...
<http://www.google.com/search?hl=en&lr=&ie=ISO-8859>-
1&q=dos+piping+input
<http://www.glue.umd.edu/~nsw/enpm808c/dos.htm#Pipe>
 
Reply Create subthread


All articles

Subject Author Date
Update Cache, if available

03/02/2003 17:59
Re: Update Cache, if available

03/04/2003 06:22
Re: Update Cache, if available

03/04/2003 17:34
Re: Update Cache, if available

03/04/2003 19:15
Re: Update Cache, if available

03/04/2003 19:20




a

Created with FORUM 2.0.11