Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums VEGAS Pro How to change the drive path for whole project…

  • How to change the drive path for whole project…

    Posted by Chris Morley on July 28, 2011 at 12:52 pm

    Can anyone help?

    I have a problem where i use Vegasaur to archive a project that contains about 10 nested projects. All of those nested projects also contain at least one nested project (one of them will usually contain around 20 nested projects (wedding introduction sequence) so i have nested projects within nested projects. Now, when i move this archived file to another drive, for backup or duplication, i have real problems with opening the file as the drive path has changed. I then need to go into EVERY project and ‘re-connect’ the media. This is fine when it’s one project that contains media from one folder but when i have all those small nested projects that need opening it’s a real pain.

    Is there any script, or something, that can make it easy to just change the drive letter for the whole project?? All the folder names are the same, it’s just that first drive letter!!

    Any ideas?

    Chris Morley replied 14 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Stephen Mann

    July 28, 2011 at 6:52 pm

    [Chris Morley] “Any ideas?”

    Yes. Subst.

    I do this all the time. My projects are on removable drives in a desktop dock. Depending on how many drives I have on, including any flash drives, the drive letter is unpredictable.

    So, on each drive I have a small DOS batch file that changed that drive to whatever drive letter I want, drive M in this example. Feel free to use it. Just change NEWDRIVE= to whatever drive letter you want.

    Now, if I can just figure out a way to run this batch file every time the drive comes on line.

    @ECHO OFF
    :: CURDRIVE.BAT
    ::
    :: Substitutes CURDRIVE with NEWDRIVE
    ::
    SET NEWDRIVE=M
    ::
    SET CURDRIVE=
    CD | CHOICE /C:ABCDEFGHIJKLMNOPQRSTUVWXYZ > NUL
    IF ERRORLEVEL 1 SET CURDRIVE=A
    IF ERRORLEVEL 2 SET CURDRIVE=B
    IF ERRORLEVEL 3 SET CURDRIVE=C
    IF ERRORLEVEL 4 SET CURDRIVE=D
    IF ERRORLEVEL 5 SET CURDRIVE=E
    IF ERRORLEVEL 6 SET CURDRIVE=F
    IF ERRORLEVEL 7 SET CURDRIVE=G
    IF ERRORLEVEL 8 SET CURDRIVE=H
    IF ERRORLEVEL 9 SET CURDRIVE=I
    IF ERRORLEVEL 10 SET CURDRIVE=J
    IF ERRORLEVEL 11 SET CURDRIVE=K
    IF ERRORLEVEL 12 SET CURDRIVE=L
    IF ERRORLEVEL 13 SET CURDRIVE=M
    IF ERRORLEVEL 14 SET CURDRIVE=N
    IF ERRORLEVEL 15 SET CURDRIVE=O
    IF ERRORLEVEL 16 SET CURDRIVE=P
    IF ERRORLEVEL 17 SET CURDRIVE=Q
    IF ERRORLEVEL 18 SET CURDRIVE=R
    IF ERRORLEVEL 19 SET CURDRIVE=S
    IF ERRORLEVEL 20 SET CURDRIVE=T
    IF ERRORLEVEL 21 SET CURDRIVE=U
    IF ERRORLEVEL 22 SET CURDRIVE=V
    IF ERRORLEVEL 23 SET CURDRIVE=W
    IF ERRORLEVEL 24 SET CURDRIVE=X
    IF ERRORLEVEL 25 SET CURDRIVE=Y
    IF ERRORLEVEL 26 SET CURDRIVE=Z
    IF “%CURDRIVE%”==”” ECHO Error checking current drive
    IF NOT “%CURDRIVE%”==”” ECHO Current drive is %CURDRIVE%:

    subst %NEWDRIVE%: /d
    subst %NEWDRIVE%: %CURDRIVE%:

    Steve Mann
    MannMade Digital Video
    http://www.mmdv.com

  • Chris Morley

    July 28, 2011 at 9:10 pm

    That’s looking pretty damn useful!!

    Thanks a lot!!

    Chris.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy