|
Answer» Hi All,
I need your help guys...
I would like to automate a manual process using a bat FILE
Manual Process
1.Open Windows explorer and goto dir “C:\sea752\client\PUBLIC\enu\xx12folder” 2.Delete the folder xx12folder manually 3.Open the command prompt 4.Navigate to folder using the command “C:\sea752\client\bin ” 5.Run the FOLLOWING EXE file using the command from the bin directory C:\sea752\client\BIN> 6.genbscript "C:\sea752\client\bin\enu\siebel.cfg" "C:\sea752\client\PUBLIC\enu" 7.genbscript is the exe file , we are passing two parameters cfg file and folder location “public\enu” 8.it creates another xx12folder 9.exit the command prompt.
Bat file
I want run the WHOLE process by double clicking the bat file.
1.Bat file should goto the folder “C:\sea752\client\PUBLIC\enu”delete the folder which is name as “xx12folder”. 2.Then it should goto the folder “C:\sea752\client\BIN” 3.Run the following command “genbscript "C:\sea752\client\bin\enu\siebel.cfg" "C:\sea752\client\PUBLIC\enu"
Thanks in Advance Code: [Select]cd C:\sea752\client\PUBLIC\enu rmdir xx12folder cd C:\sea752\client\BIN genbscript "C:\sea752\client\bin\enu\siebel.cfg" "C:\sea752\client\PUBLIC\enu"
|