....
In a batch file you must use this syntax:
@echo off
for /d %%a in ({*}) do xcopy "%%a" "C:\Home\a\b\tmp\%%a\" /E
You wrote: "Thanks for your reply, I can get it to work in
dos". As
I said: This is not DOS - it is the Command Prompt. There is
simply
no DOS under WinXP.
You would do well to get off the "no DOS" crap all the time since
even MS calls them DOS commands. What you mean is, there is no
MSDOS, but even that's unnecessary to be pointing out when almost
anyone who does any research on their own are going to thing
you're a real dummy until they get to the right part of the
Command Prompt information. There most certainly IS a Disk
Operating System, otherwise there would be no disk operations.
Unless you just like to appear arrogant, or show off how
techinickel you are, instead point them to places, or describe
things, that make sense to the new posters and those new to XP et
al. What you do, and I've seen others do, is basically lying by
omission. Many DOS commands, and many more added command prompt
commands comprise what most know, and refer to as, DOS commands.
Even if they want MSDOS, you still should be able to be savvy
enough to get off your high horse and act/instruct accordingly.
Or, shut your keyhole; It's silly to act like you do.
No, I don't intend to debate this with you or anyone else; I've
had my say, and put the prelim info out there for anyone who
needs and/or wants to check up on these things, and hopefully
made it clearer why some bozos are so pround of problaiming
"There is no DOS in XP". And, I know you know all this.
Microsoft Windows XP - Command-line reference A-Z
In addition to the tools installed with Windows XP, there are
over 40 support tools included on ... For more information about
changes to the functionality of MS-DOS commands, new command-line
tools ...
Microsoft Windows XP - MS-DOS subsystem commands
Other MS-DOS subsystem commands, such as share , perform
functions that are now inherent to Windows XP or the MS-DOS
subsystem. The commands are accepted to preserve compatibility
with existing files ...
How to start the Setup program from MS-DOS in Windows XP
How to start the Setup program from MS-DOS in Windows XP
Microsoft Windows XP - Dos
Specifies that the MS-DOS subsystem is to maintain a link to the
upper memory area (UMA) or is to load part of itself into the
high memory area (HMA).
Error message when you install or start an MS-DOS or 16-bit
Windows ...
If you try to start or install an MS-DOS-based or a 16-bit
Windows-based program on your Windows XP-based computer, you may
receive an error message that is similar to one of the following:
16-bit MS ...
Microsoft Windows XP - MS-DOS overview
MS-DOS, the acronym for Microsoft Disk Operating System, is an
operating system with a command-line ... Windows XP Professional
Product Documentation > Windows components
Microsoft Windows XP - New ways to do familiar tasks
Windows XP retains and enhances almost all MS-DOS functionality.
The following tables explain: Changes to the functionality of
MS-DOS commands. MS-DOS commands that are no longer available in
Windows ...
How to print to a network printer from an MS-DOS-based program in
....
Explains how to print by using a network printer from an
MS-DOS-based program in Windows XP.
Microsoft Windows XP - Set up two shortcuts for an MS-DOS program
Open My Computer Locate the MS-DOS-based program (.exe) file, the
program information file (.pif), or the shortcut you want to
change. Right-click the file and click Create Shortcut.
Microsoft Windows XP - Specify custom startup files for
MS-DOS-based ...
Please consult the documentation that came with the MS-DOS-based
program before performing this procedure. Open My Computer Locate
the MS-DOS-based program (.exe) file, the program information
file ...
Microsoft Windows XP - Reserve shortcut keys for MS-DOS-based
programs
Open My Computer Locate the MS-DOS-based program (.exe) file, the
program information file (.pif), or shortcut you want to change.
Right-click the file, and then click Properties.
Microsoft Windows XP - Allocate system resources for an
MS-DOS-based ...
Open My Computer Locate the MS-DOS-based program (.exe) file, the
program information file (PIF), or shortcut you want to change.
Please refer to the documentation that came with the program for
the ...
How to use System files to create a boot disk to guard against
being ...
How to use System files to create a boot disk to guard against
being unable to start Windows XP ... This disk is different from
an MS-DOS startup disk. Unlike MS-DOS, the whole Windows
operating ...
Genuine Microsoft Software
Delight your friends and family with this fun, new way to
customize Windows XP. ... organized and efficient using advanced
tools to manage your e-mail, schedule, contacts, and to-dos.
Microsoft Windows XP - Display Help for an MS-DOS command
To display Help for an MS-DOS command ... 1. Open Command Prompt
2. At the command prompt, type the name of the command you want
help on ...
Microsoft Windows XP - Open an MS-DOS program from a command
prompt ...
Open Command Prompt Type the name of the installed MS-DOS-based
program you want to open, and then press ENTER. Or, change to the
directory where the program is located and type its name there
etc. etc. etc. etc. etc. etc., all at microsoft.com.
Pop
Pop