Batch Files

  01chris 16:52 17 Jul 05
Locked

I am trying to make a batch file for win xp that will copy pictures from my website to a users hard drive. I am testing it with just 1 picture first.

Here is the test:

copy /Y "click here" "C:\Documents and settings\%username%\My Documents\My Pictures"

I am trying to copy IMG_0005.jpg from myweb.tiscali.co.uk/clivepics to the users my pictures folder.

When i run it I am told that the file name, directory name or volume label syntax is incorrect.

What is wrong?

  mattyc_92 16:56 17 Jul 05

I think it is the "%username%" bit.

  01chris 17:41 17 Jul 05

imply that there is a problem getting the file from the server not putting it on the hard drive.

I will change that bit and try again

  01chris 17:46 17 Jul 05

that click here bit should say myweb.tiscali.co.uk/clivepics/IMG_0005.jpg

  DieSse 17:50 17 Jul 05

I'm pretty sure the copy command won't copy from a web site - it's not an address that the copy command understands.

  01chris 18:03 17 Jul 05

there another way of doing it then?

This thread is now locked and can not be replied to.

Best phone camera 2016/2017: Galaxy S7 vs iPhone 7 vs Google Pixel vs HTC 10 Evo vs OnePlus 3T vs…

1995-2015: How technology has changed the world in 20 years

These are the Best Christmas Ads and Studio Projects of 2016

Super Mario Run preview | Hands-on first impressions of Super Mario Run: Mario's iPhone & iPad…