I want to run a vbscript to do a backup process. The backup is done by running a command line prompt the you supply the backup file name. Once you enter this there is a screen that presents a message and asks you to press enter to continue.
I want to use VBscript to create the file name based on date and once the backup is created to copy it. My problem is simulating the enter key. Since this will be a scheduled task that will run while the server is logged off I can't use Send Keys. I also thought about using a Batch file to run the command, however I can't find how to simulate the enter key with batch command's either as the backup command wants only the enter key, not 'y' for yes.