OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: karotlopj on April 26, 2016, 03:56:29 pm

Title: Can someone check this?
Post by: karotlopj on April 26, 2016, 03:56:29 pm
Can someone check this cmd file and tell me if the output looks ok? I've tried it several times with different versions of wget and can't understand the result. Just wondered if it was just me...


set @=j:
set repo=%@%\usr
%@%
md \usr
wget -x -Ncr -nH --cut-dirs=3 -t 1 -P %repo% http://hobbes.nmsu.edu/download/pub/os2/dev/emx/v0.9d/emxample.zip
Title: Re: Can someone check this?
Post by: karotlopj on April 26, 2016, 05:21:43 pm
I figured it out.... wget processes filesystem separators as '/' . I used a '\' which caused unforeseen behaviour.