Please ignore. It was needing the "\\", like Josh said. ----- Original Message ----- From: "Alan Thomas" <[EMAIL PROTECTED]> To: "Josh Williams" <[EMAIL PROTECTED]>; <wget@sunsite.dk> Sent: Thursday, September 06, 2007 9:25 PM Subject: Re: wget syntax problem ?
> Wget does not like my use of the "--directory-prefix=" option. Anyone know > why? > > ----- Original Message ----- > From: "Josh Williams" <[EMAIL PROTECTED]> > To: "Alan Thomas" <[EMAIL PROTECTED]> > Cc: <wget@sunsite.dk> > Sent: Thursday, September 06, 2007 8:53 PM > Subject: Re: wget syntax problem ? > > > > On 9/6/07, Alan Thomas <[EMAIL PROTECTED]> wrote: > > > > > > > > > I know this is probably something simple I screwed up, but the > following > > > commands in a Windows batch file return the error "Bad command or file > name" > > > for the wget command > > > > > > cd .. > > > wget --convert-links > > > --directory-prefix="C:\WINDOWS\Profiles\Alan000\Desktop\wget\CNN\" > > > --no-clobber "http://www.cnn.com" > > > > Don't use backslashes in filenames. If you do, use `\\` instead. >