I have a bat file which outputs text to an html using awk. The files needed reside in their own folder and all works fine.
However when I call the bat file from within vba (using shell) it opens the bat file but can't find the other files it needs to execute the bat properly.
In fact it seems to be looking for them in the my documents folder????
Why is that? Neither the vb application (access) nor the folder for te bat are anything like the my docs folder.
It seems vb is opening the bat but not within its own folder, but in my docs.
Who told it to do this and can I force it not to
Thanks
However when I call the bat file from within vba (using shell) it opens the bat file but can't find the other files it needs to execute the bat properly.
In fact it seems to be looking for them in the my documents folder????
Why is that? Neither the vb application (access) nor the folder for te bat are anything like the my docs folder.
It seems vb is opening the bat but not within its own folder, but in my docs.
Who told it to do this and can I force it not to
Thanks