A
Andy
I have a simple NT Shell script (script.cmd) which handles one parameter
passed to it.
The script echos the parameter out to a txt file.
If I call this script from the DOS window in XP it works fine. If I call it
from a MS Access module using the Shell() function call it doesn't work. The
VBA line of code looks something like Shell("c:\script.cmd fred") where fred
is the parameter being passed to the script.
Basically nothing happens at all - no error.
Can anyone advise on calling shell scripts from MS Access with a parameter?
passed to it.
The script echos the parameter out to a txt file.
If I call this script from the DOS window in XP it works fine. If I call it
from a MS Access module using the Shell() function call it doesn't work. The
VBA line of code looks something like Shell("c:\script.cmd fred") where fred
is the parameter being passed to the script.
Basically nothing happens at all - no error.
Can anyone advise on calling shell scripts from MS Access with a parameter?