thanks, that worked!!
now to improve it a bit more, if u will help
anyway to make it ask u for the location, so i don'y have to edit the bat everytime, instead the bat asks me for the dir
i tried this, doesn't work:
@echo off
set /p location= Type in the directory please.
set folder= %location%
for /f "tokens=* delims=" %%v in ('dir /a:d /b %folder%') do (
copy 1.txt "%folder%\%%v"
copy 2.txt "%folder%\%%v"
copy 3.txt "%folder%\%%v"
)
pause
EDIT:btw,
about this part:
copy 1.txt "%folder%\%%v"
copy 2.txt "%folder%\%%v"
copy 3.txt "%folder%\%%v"
one file's name has an space in the name of it, so it says not found, but when i replaced with a _
it worked
anyway to not put _?