Batch Files

  01chris 16:52 17 Jul 2005
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 2005

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

  01chris 17:41 17 Jul 2005

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 2005

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

  DieSse 17:50 17 Jul 2005

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 2005

there another way of doing it then?

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

Elsewhere on IDG sites

Best phone camera 2017

Stunning new film posters by Hattie Stewart, Joe Cruz & more

iPad Pro 10.5in (2017) review

28 astuces pour profiter au mieux de votre iPhone