So, I am trying to create a CMD batch file. My purpose is to keep the 'Base' directory and remove the 'Current' directory.
http://i.imgur.com/05oGJFb.png
I created the following coded 'Instal.Cmd' in my C:\B.Motherboard directory :
Code: Select all
XCopy /E /Q /S /V /Y Base\*.* Current\*.*
Cd Current
Call SDI_R423.Exe > Nul
by this batch file I can successfully run this application but I need to :
1. Keep the CMD window invisible while application is running, perhaps by a script file or some CMD option.
2. After i close application, to update only the files existing in the 'Base' directory from the 'Current' directory.
3. Remove 'Current' directory'.
I have no clue how i do this but I am sure the experts here, who are best of bests, will find
solutions.
Thank you in advance.