how to get user input for xcopy switches

January 24, 2011 at 09:38:07
Specs: Windows XP
Hello need to create a batch file to run under xp that will basically run Xcopy from and to set folders BUT using a date parameter supplied byu the user. My knowledge of DOS is very limited so would appreciate the help from anybody.

regards Steve

See More: how to get user input for xcopy switches

Report •

January 24, 2011 at 12:05:58

The problem with choice is you have to use a pre-canned set of values. The user can not free text. If you want free text then look to VBS.

Why does the user need to enter a date. Can you not work off of the current date?

You might want to look at the FORFILES command...

Report •

January 24, 2011 at 23:58:53
Rob thanks for the reply. What I am trying to do is create an from a folder that contains hundreds of images that is constantly being updated, the extract will be run once or twsice a week to push new / changed images since the last run up to our website. hence the date input or is there another way of doing this?

Report •

January 25, 2011 at 21:48:02
use robocopy xcopy is trash

Report •

Related Solutions

Ask Question