#11
|
|||
|
batch file
So I noticed the link to the .bat file wasn't working and had to find a workaround. If anyone's interested, open notepad, copy this, and save it as a .bat file (have to change save format from .txt to 'all files'). This lets you take the list of files (from page 1 on this thread), copy them to a .txt file, and then it reads that .txt file to copy just those files to a destination and from a source folder that you also set (the directories should be written after the '=' in lines 2-4). Should be pretty easy.
@echo off set Source= set Target= set FileList= echo. if not exist "%Source%" echo Source folder "%Source%" not found & goto Exit if not exist "%FileList%" echo File list "%FileList%" not found & goto Exit if not exist "%Target%" md "%Target%" for /F "delims=" %%a in ('type "%FileList%"') do move "%Source%\%%a" "%Target%" :Exit echo. echo press the Space Bar to close this window. pause > nul | ||
Thread Tools | |
Display Modes | |
|
|