Batch Files

  01chris 16:52 17 Jul 2005

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 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

  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

iPhone X review

How to find a font: Discover the name of a typeface with these apps

The best iPhone for 2017

Comment créer un compte PayPal pour payer en ligne ?