Home » Create a Search Program to Find a Specific Hard Disk Audio File on a Pristine System

CREATE A SEARCH PROGRAM TO FIND A SPECIFIC HARD DISK AUDIO FILE ON A PRISTINE SYSTEM

The following instructions will guide you through writing a Search program that will locate a hard disk audio file on your Pristine System, either RapidFire or MMCS. This program is helpful when you are trying to find a certain audio file and you do not remember which hard drive you stored it on. It will also find the files across the network on both the Playback and Production Computers, which is helpful if you want to make sure you transferred a file. Finally, it will also locate multiple copies of an audio file, in case you accidently used a file number more than once or mistyped the file number when producing an audio file.

These instructions assume that you are familiar with the MS-DOS edit program and the general operation of your computer system. It also assumes that your computer network conforms to the current Pristine recommended setup of starting network drives at O-Drive. Finally, it assumes that all of your hard disk audio files are stored in the MUSICMGR subdirectory of each hard drive partition. You may have to alter the following batch file program if your system does not meet these assumptions.

 

  1. Create the following SEARCH.BAT batch file program using the MS-DOS Editor or any other editor that works with text files. Do not save this file in any format other than text. You may cut and paste this file if you are familiar with the Windows clipboard and Notepad or Wordpad. Save this batch file program in the MUSICMGR subdirectory of your Production and/or Scheduling Computers. 
    @ECHO OFF
    CLS
    ECHO.
    ECHO.
    IF EXIST C:MUSICMGRSP[%1].SPC DIR C:MUSICMGRSP[%1].SPC
    IF EXIST D:MUSICMGRSP[%1].SPC DIR D:MUSICMGRSP[%1].SPC
    IF EXIST E:MUSICMGRSP[%1].SPC DIR E:MUSICMGRSP[%1].SPC
    IF EXIST F:MUSICMGRSP[%1].SPC DIR F:MUSICMGRSP[%1].SPC
    IF EXIST G:MUSICMGRSP[%1].SPC DIR G:MUSICMGRSP[%1].SPC
    IF EXIST H:MUSICMGRSP[%1].SPC DIR H:MUSICMGRSP[%1].SPC
    IF EXIST I:MUSICMGRSP[%1].SPC DIR I:MUSICMGRSP[%1].SPC
    IF EXIST J:MUSICMGRSP[%1].SPC DIR J:MUSICMGRSP[%1].SPC
    IF EXIST K:MUSICMGRSP[%1].SPC DIR K:MUSICMGRSP[%1].SPC
    IF EXIST L:MUSICMGRSP[%1].SPC DIR L:MUSICMGRSP[%1].SPC
    IF EXIST M:MUSICMGRSP[%1].SPC DIR M:MUSICMGRSP[%1].SPC
    IF EXIST N:MUSICMGRSP[%1].SPC DIR N:MUSICMGRSP[%1].SPC
    
    IF EXIST O:MUSICMGRSP[%1].SPC DIR O:MUSICMGRSP[%1].SPC
    IF EXIST P:MUSICMGRSP[%1].SPC DIR P:MUSICMGRSP[%1].SPC
    IF EXIST Q:MUSICMGRSP[%1].SPC DIR Q:MUSICMGRSP[%1].SPC
    IF EXIST R:MUSICMGRSP[%1].SPC DIR R:MUSICMGRSP[%1].SPC
    IF EXIST S:MUSICMGRSP[%1].SPC DIR S:MUSICMGRSP[%1].SPC
    IF EXIST T:MUSICMGRSP[%1].SPC DIR T:MUSICMGRSP[%1].SPC
    IF EXIST U:MUSICMGRSP[%1].SPC DIR U:MUSICMGRSP[%1].SPC
    IF EXIST V:MUSICMGRSP[%1].SPC DIR V:MUSICMGRSP[%1].SPC
    IF EXIST W:MUSICMGRSP[%1].SPC DIR W:MUSICMGRSP[%1].SPC
    IF EXIST X:MUSICMGRSP[%1].SPC DIR X:MUSICMGRSP[%1].SPC
    IF EXIST Y:MUSICMGRSP[%1].SPC DIR Y:MUSICMGRSP[%1].SPC
    IF EXIST Z:MUSICMGRSP[%1].SPC DIR Z:MUSICMGRSP[%1].SPC
    
    ECHO.
    ECHO.
    PAUSE
    

     

  2. Now create a Command List in the Pristine Control Panel Menu System to access this program and make it work. From the Main Menu on your Control Panel, press the F9 key twice to enter Menu Maintenance.
  3. Press F6 ADD and then select C for COMMAND LIST.
  4. Enter the Selection Key of your choice, a description like “Search For An Audio File”, and press ENTER to pass by the Password screen.
  5. Enter the following two lines as shown on the following screen, then press F10 SAVE & EXIT, and press the ESC several times until you are back at the Main Menu.
    rem [Search For Which Audio File Number?|nnnnn|5|%1]
    call c:musicmgrsearch.bat [%1]
    

  1. Now test your new Search Program by entering an audio file number and see if it is located. If not, check your work to make sure you did not enter anything wrong in the SEARCH.BAT program.

© 1997 Professional Management Services Inc.
All Rights Reserved. MS-DOS® is a trademark of Microsoft, Inc.
This page last updated 12/6/97

Leave a Reply

Your email address will not be published. Required fields are marked *