1. A file copied/placed in a specific directory/folder in a remote windows machine (Windows server 2012 R2 Standard)
2. Check for any spaces in the file, if found, remove the space.
3. rename and save the file with .js on that path (specific directory/folder where it was copied/placed).
4. Copy the file now to the other directory/folder of that machine.
5. go to one of the other path where an existing batch file is kept.
6. Open command prompt, so that you can run an existing batch script that will take the file (we have mentioned above) as
an input, after providing a set of command in the command prompt.
7. let the batch to run and finish.
8. check for key word 'DONE' on the command prompt screen or if the prompt is returned, this will indicate that the batch
file has completed running and now a log should be generated for review.
9. search for the that log file (txt) created (with key word out_main) at the same path where the file was copied after
rename.
10. send the log file to recipients over email.
so basically we need to create a batch program which will include all coding including all the steps mentioned above.
can someone help if this can be achieved or how that be can be achieved or is there an existing batch file i can refer to
re-code/write as a reference?
Thanks You so much!
Sandeep M
2. Check for any spaces in the file, if found, remove the space.
3. rename and save the file with .js on that path (specific directory/folder where it was copied/placed).
4. Copy the file now to the other directory/folder of that machine.
5. go to one of the other path where an existing batch file is kept.
6. Open command prompt, so that you can run an existing batch script that will take the file (we have mentioned above) as
an input, after providing a set of command in the command prompt.
7. let the batch to run and finish.
8. check for key word 'DONE' on the command prompt screen or if the prompt is returned, this will indicate that the batch
file has completed running and now a log should be generated for review.
9. search for the that log file (txt) created (with key word out_main) at the same path where the file was copied after
rename.
10. send the log file to recipients over email.
so basically we need to create a batch program which will include all coding including all the steps mentioned above.
can someone help if this can be achieved or how that be can be achieved or is there an existing batch file i can refer to
re-code/write as a reference?
Thanks You so much!
Sandeep M