Author Topic: Can someone check this?  (Read 969 times)

John Poltorak

  • Full Member
  • ***
  • Thank You
  • -Given: 16
  • -Receive: 0
  • Posts: 233
    • View Profile
Can someone check this?
« 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



John Poltorak

  • Full Member
  • ***
  • Thank You
  • -Given: 16
  • -Receive: 0
  • Posts: 233
    • View Profile
Re: Can someone check this?
« Reply #1 on: April 26, 2016, 05:21:43 pm »
I figured it out.... wget processes filesystem separators as '/' . I used a '\' which caused unforeseen behaviour.