Hi,
I have following requirement, As i was new to btach programming,pl. help me on this
if a customer has COP-IDS 1.0 software installed on their computer it usually will be in a different directory than version 1.1. software Therefore the batch file will:
i) Require 2 command line arguements. The location of the COP-IDS v1.0 data directory and the COP-IDS v1.1 data directory. (There is data directory under COP-IDS 1.0/COP-IDS 1.1).how get their path.
ii) It will verify that these paths exist and that they are different. If true, then it will use xcopy to move the original charts to the v1.1 chart directory. For example:
XCOPY src_dir\DATA\CHARTS\*.* dest_dir\DATA\CHARTS\ /E /V
Where src_dir and dest_dir are the command line arguments supplied by the user
iii) Delete the COP-IDS v1.0 program directory and data directory (if they are different than the v1.1 directories). For example
RMDIR /S /Q src_dir\COP-IDS\
RMDIR /S /Q src_dir\DATA