Echo Off
For %%a in (A: B: C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do if .%1==.%%a goto OKDrive
For %%a in (a: b: c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:) do if .%1==.%%a goto OKDrive
GoTo NoDrive
:OKDrive
If Not .%2==. GoTo Install
Echo 浜様様様様様様様様様様様様様様様様様様様様様様様様様様様�
Echo �                   W A R N I N G                       �
Echo �                                                       �
Echo �  You did not specify a directory where you want       �
Echo �  EasyChart installed. EasyChart will be installed     �
Echo �  in the default directory on drive %1. If you do not  �
Echo �  want this to happen, you should press Ctrl-C now.    �
Echo �                                                       �
Echo 藩様様様様様様様様様様様様様様様様様様様様様様様様様様様�
Pause
:Install
If Not Exist EZC.EXE GoTo NoSoft
If .%2==. GoTo SkipMD
If .%2==.\ GoTo SkipMD
Echo 浜様様様様様様様様様様様様様様様様様様様様様様様様様様様�
Echo �                                                       �
Echo �  The installation procedure will now attempt to make  �
Echo �  the directory you specified.  If you receive the     �
Echo �  message "Unable to create directory" this is ok.     �
Echo �                                                       �
Echo 藩様様様様様様様様様様様様様様様様様様様様様様様様様様様�
MkDir %1%2
:SkipMD
Echo 浜様様様様様様様様様様様様様様様様様様様様様様様様様様様様�
Echo �                                                         �
Echo �  EasyChart and all its associated files will be copied. �
Echo �                                                         �
Echo 藩様様様様様様様様様様様様様様様様様様様様様様様様様様様様�
Copy *.* %1%2/v
Echo 浜様様様様様様様様様様様様様様様様様様様様様様様様様様様様�
Echo �                                                         �
Echo �  If you did not receive the message "Insufficient disk  �
Echo �  space", the EasyChart installation is complete.        �
Echo �                                                         �
Echo 藩様様様様様様様様様様様様様様様様様様様様様様様様様様様様�
GoTo Finish
:NoDrive
Echo 浜様様様様様様様様様様様様様様様様様様様様様様様様様様融
Echo �                                                      �
Echo �  No drive was specified on the INSTALL command. The  �
Echo �  syntax for the INSTALL command is:                  �
Echo �                                                      �
Echo �   INSTALL [drive:] [\directory]                      �
Echo �                                                      �
Echo �    where:  [drive:] - is the drive where EasyChart   �
Echo �                       will be installed.             �
Echo �                                                      �
Echo �        [\directory] - is the directory where         �
Echo �                       EasyChart will be installed.   �
Echo �                                                      �
Echo �     for example:  INSTALL C: \EZC                    �
Echo �                                                      �
Echo 藩様様様様様様様様様様様様様様様様様様様様様様様様様様夕
GoTo Finish
:NoSoft
Echo 浜様様様様様様様様様様様様様様様様様様様様様様様様�
Echo �                                                 �
Echo �  EZC.EXE was not found on the default drive.    �
Echo �  Check that the default drive is set where      �
Echo �  the installation diskette is located.          �
Echo �                                                 �
Echo 藩様様様様様様様様様様様様様様様様様様様様様様様様�
:Finish
