I took your advice and dig my homework.
Here is what I ended up with.
cd /d C:\Users\jbrown\Desktop\Test
if /I %I% LEQ 999 set II=0%I%
if /I %I% LEQ 99 set II=00%I%
if /I %I% LEQ 9 set II=000%I%
if not exist "15-P !II!" (
xcopy /s /e "15-P" "15-P !II!"
set /a I+=1
if /i %I% LSS 9999 goto NextI
My only problem is, the result is 15-P 0002, 15-P 0003, etc. Is there a way to eliminate the space between the P and 0, eg. 15-P0003??
Thanks in advance for any help that you can provide.