echo off if "%1"=="" goto merror IF EXIST %1\*.* GOTO HAVEDRIVE GOTO MERROR :HAVEDRIVE if "%1"=="A:" goto MERROR if "%1"=="a:" goto MERROR IF "%1"=="B:" GOTO MERROR IF "%1"=="b:" GOTO MERROR goto ok :ok %1 cd \ md FF cd FF copy a:*.* %1 copy a:ff.bat %1\ echo You've done it! To run FASTFILE right now, echo just type FF (and press enter). GOTO DONE :MERROR echo To instal FASTFILE on your hard disk, echo Get the A: prompt and then type: echo [INSTALL C:] and [Enter] (or D: or E: etc.) :done echo on