I have a simple batch file that removes a lock from a pdf file that enables multiple files to be put in a binder for printing. Nothing illegal, but in the nature of my work I receive a ton of single pdf that need to be combined in order to save printing time. The batch file is written so the single pdf is dropped onto of the icon, the batch executes and copy and renames the file so you know which is able to be put in binder. Problem is only one file at a time is allowed to be dropped. Like I said, I have a ton of pdfs on a weekly basis that require this process. I have written a simple vb6 program where I can navigate to the drive, directory and file list box with the particular pdfs. I have set up a command button when clicked will take the first file in the list and attempt to execute the batch program and then the next until list is complete. My problem occurs with the fact the batch relies on the file being dropped on the icon on the screen to execute with the file. Is there any way to execute the batch program with the file name? Some way I must pass the file name each time to the batch program so it knows which to process, dragging and dropping takes long time. Basically I trying to automate the process. Any help appreciated
↧