Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 68,748 of 68,980    |
|    Q to All    |
|    Re: Help With Robocopy & Source Folders     |
|    01 Feb 24 07:01:49    |
      From: q@q.com              On 1/31/2024 9:06 PM, Zaidy036 wrote:       > On 1/31/2024 12:34 PM, Q wrote:       >> On 1/31/2024 7:50 AM, Robert Roland wrote:       >>> On Tue, 30 Jan 2024 14:56:02 -0500, Qwrote:       >>>       >>>> 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.       >>       >> Thank you Robert!       > if this is a one time use then first COPY all "P-" files to another       > folder and RoboCopy from there.              This will be run daily. The %%~na works in my testing. They haven't       started using it in production yet but I think it will work. Thank you       for that tip.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca