Support 805.461.7300
Sales
Our Technology. Your Success.
Tech Notes

Run an AccuZIP6 script from a DOS prompt

The following instructions will make AccuZIP6 automatically run the script listed in the Autoscript.txt file that resides inside the AccuZIP6 5.0 folder.

How to create the autoscript.txt file

  1. Launch AccuZIP6
  2. Pull down the File menu to Properties and click the Startup Tab.
  3. Select the option to open the Script window, then highlight the script you want to run.
  4. As soon as you click the Apply or OK button, the autoscript.txt file will be created inside the AccuZIP6 5.0 folder.

Now you can Modify the Autoscript.txt file programmable by opening or creating the Autoscript.txt file. There are only two lines in the Autoscript.txt file:

PROMPT=YES
SCRIPT=SCRIPTNAME

Note: PROMPT can also equal NO.

The DOS Commands in a Batch.bat file to properly open AccuZIP6 are:

CD\
CD C:\PROGRAM FILES (x86)\ACCUZIP6 5.0\
ACCUZIP6.EXE

These three lines set the default folder to the AccuZIP6 5.0 folder (very important), and then run AccuZIP6.exe.

When AccuZIP6 runs, and the Properties window has been setup properly, the Script will automatically run and if the Script's last Event is Exit, the program with Quit/Exit as well.

Select any script to run in AccuZIP6 without modifying the autoscript.txt file

  1. Create a folder that contains several Autoscript.txt files renamed, e.g., Autoscript1.txt, Autoscript2.txt and Autoscript3.txt.

Each autoscript file that you'd create will contain its own SCRIPT=?? line that run one of the AccuZIP6 scripts you've built.

  1. Using the DOS Command sample above, insert this line in the Batch.bat file that you are calling to move one of the Autoscript?.txt files to the AccuZIP6 5.0 folder before running AccuZIP6:

COPY C:\AUTOSCRIPT1.TXT C:\PROGRAM FILES\ACCUZIP6 5.0\AUTOSCRIPT.TXT CD\ CD C:\PROGRAM FILES\ACCUZIP6 5.0\ ACCUZIP6.EXE

Note: Notice that the COPY line above copies Autoscript1.txt to Autoscript.txt, thus renaming it.

« Back to Tech Notes

As always, thanks for your product. We in the industry TRULY appreciate the fact that YOU get back to us. You have NO IDEA how important that is.
T.G., Berlin, MD