Run Batch file via macro?

G

Guest

I've created a batch file to run some software which runs fine through
Windows (with some internet security changes). I desparately need to
incorporate this batch file into a macro to prevent a 30 min job becoming 4
hours through doing it manually and for other users to run.
Basically just need to work out how to run it through a macro. Everything I
read seems to be about shells and VBA (of which I have NO knowledge).

any help appreciated (path T:\CDS Folder\HRG and CDS Documentation\Software
to run (DO NOT ALTER)\HRG Grouper v2006.2.0\HRG_batch.bat)

Many thanks
 
S

Steve Schapel

Andy,

You can use a macro with the RunApp action. In the Command Line
argument, enclose the entire path/filename of your batch file within ""s.
 
G

Guest

Hi, I managed to get it sorted. Problem was that I had spaces in some of my
folder names in the path and DOS didn't like them...

Cheers though
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top