@echo off GOTO START =========================================================================== Script: ripn2one.cmd Author: original script by pwlong http://users.upwardaccess.com/plong/bm-addons.html and modified by Brent Evans at http://brentevans.blogspot.com/ Version: 0.3 (Mar 2008) Script: CDLister.cmd Author: original script by FileGod http://fixunix.com/ms-dos/359784-cdlister-cmd-get-files-bbs-create-list-same-name-volume.html Version: 0.4 (Mar 2008) Script: Rip2Fldr.bat Modified by Scat at http://forums.sagetv.com/forums/showthread.php?t=40592 Version: 0.5 (April 2009) Purpose: Automated copy a DVD folder structure to hard drive while making a folder of the DVD'S Volume Label and storing the information there. =========================================================================== Caveats to the user: Use at your own risk. While this script has been tested on my PC it is recommended you test in your environment before using. This script is not intended to be used for anything unlawful and is to be used & distributed for educational purposes If you use or modify this script, give proper credit to the original authors noted above. I took portions of 3 seperate command files to make this one, credits above. =========================================================================== :START rem ---------------------- rem User-defined variables rem --------------------- rem rem Enter your DVD drive letter below set SRC=I: rem Enter your target folder to store the DVD in below set DEST=H:\DVD_Folder_Rips rem Make the destination folder if it doesn't exist IF NOT EXIST %DEST% MD %DEST% echo. vol %SRC%|find "drive">~.bat echo set vsdrv=%%3>volume.bat echo set vsvol=%%5>>volume.bat call ~.bat echo set vsser=%%4>volume.bat for %%x in (call del) do %%x ~.bat del volume.bat if (%vsvol%)==(no) set vsvol={none} echo. if exist %DEST%\%vsvol% goto NOTEMPTY echo %vsvol% echo %vsdrv% MD %DEST%\%vsvol% rem remove the rem from the below line for Windows Vista REM robocopy %SRC% %DEST%\%vsvol% *.* /E rem remove the rem from the below line for Windows XP REM xcopy %SRC% %DEST%\%vsvol% *.* /E GOTO END :NOTEMPTY echo %DATE% %TIME% -- %DEST%\%vsvol% exists, Ending copy Pause :END rem finished set SRC= set DEST= set vsvol= set vsdrv= set vsser= Exit