Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Help With Robocopy & Source Folders Using A Wildcard

26 views
Skip to first unread message

Robert Roland

unread,
Jan 31, 2024, 7:50:40 AMJan 31
to
On Tue, 30 Jan 2024 14:56:02 -0500, Q <q...@q.com> wrote:

>How do I
>separate the "P-" folders found from the source path?

In the help text for for (for /?), all the way at the bottom,
substitution of variable references is explained.

In your destination path, replace %%a with %%~na.
--
RoRo

Zaidy036

unread,
Jan 31, 2024, 9:07:00 PMJan 31
to
On 1/31/2024 12:34 PM, Q wrote:
> Thank you Robert!
if this is a one time use then first COPY all "P-" files to another
folder and RoboCopy from there.
0 new messages