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

I am especially motivated to take time to draw attention to Vince. In two instances, we potentially faced loss of product – significant loss, but thanks to everyone’s efforts, most notably Vince’s, we ended up with minor re-work and zero loss of stock. He’s patient and thorough, knowledgeable and resourceful. And he’s patient – A Big Plus when dealing with me. Long story short, the guy was able to not only produce a solution, but to prove to me the veracity of it. I hung up the phone saving thousands of dollars in catalog stock, not lost but salvaged, and my department had to spend just a wee bit of time on job re-work (which I was happy to do, all things considered). But I also hung up with a peculiar urge to write about Vince, incongruent as that may be since I rarely am moved to write letters of this sort. So… In a time of crisis, Vince was a terrific asset and ally. If I were his boss, I’d attempt a merit raise authorization, he was that exceptional.
H.D., Shawnee Mission, KS