Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

You may be able to accomplish what you've described using an OS batch file or...