Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

Reply
 
Thread Tools Display Modes
  #11  
Old 05-23-2013, 10:41 PM
lansuven lansuven is offline
Decaying Skeleton


Join Date: Apr 2013
Posts: 4
Default 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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:51 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.