Never mind.  The correct syntax is 

--directory-prefix="c:\output\"

        However, the error was due to a Return vice space before the URL.  Duh!

Alan
  ----- Original Message ----- 
  From: Alan Thomas 
  To: wget@sunsite.dk 
  Sent: Saturday, March 10, 2007 9:07 PM
  Subject: Syntax for directory names


          I would like the output files from a wget command to be stored in a 
subdirectory ("output") of the current directory.  To do this, I used the 
"directory-prefix" option, but it does not seem to like my syntax.  It gives me 
the error "missing URL."  The variations I tried for the option are:

  --directory-prefix=/output/
  --directory-prefix=/output
  --directory-prefix=output

  Here is one variation of the complete command I am using:

  wget  --convert-links --directory-prefixoutput --no-clobber http://www.xyz.com

          Anybody know what I`m doing wrong?  

  Thanks, Alan


Reply via email to