GrandMasterTuck
In need of medication
- Local time
- Today, 11:22
- Joined
- May 4, 2013
- Messages
- 129
I have another thread in regards to being unable to get Access to run a batch file. The batch file has exactly one line of code. Is there a way, instead of trying to get Access to run the batch file, to run the line of code that's IN the batch file directly from within Access?
Here's the line of code in the batch file:
It's using the ImageMagick application to perform this action. When I open a command prompt and type this exact thing, it works flawlessly. When I create a batch file with just this line of code and then save and execute the batch file by double-clicking it, it works flawlessly. But for the confounded LIFE of me, I can NOT get Access to run this batch file!
So, is there an Access / VBA command that will execute a line of code just as a command prompt will, so I don't even have to try and figure out why my batch file won't open?
This is making me really frustrated....
Here's the line of code in the batch file:
Code:
convert C:\APic\1.jpg -resize 240x300 C:\APic\1.jpg
It's using the ImageMagick application to perform this action. When I open a command prompt and type this exact thing, it works flawlessly. When I create a batch file with just this line of code and then save and execute the batch file by double-clicking it, it works flawlessly. But for the confounded LIFE of me, I can NOT get Access to run this batch file!
So, is there an Access / VBA command that will execute a line of code just as a command prompt will, so I don't even have to try and figure out why my batch file won't open?
This is making me really frustrated....