Is there a way to create or retrieve and modify a DOS batch file and then run it using VBA? Thanks. If so, I'd appreciate a simple example of the code.