It's more likely that the short cut has its Start in property set to the
folder. If that's not done, then you really can't be sure where the program
is going to look for the file.
Easiest will probably be:
Test = Shell("C:\Directory\File.EXE C:\Directory\Config1.XXX")

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> Look at the command line in your short cut to see if there are any command
> line options included. If there are, you will have to add them to your
[quoted text clipped - 20 lines]
>>
>> Thanks
Douglas J. Steele - 30 Apr 2005 01:07 GMT
It occurred to me that your sample name may be misleading. If, in fact,
there are spaces in the full path, you'll need to do something like:
Test = Shell("""C:\Directory\File.EXE"" ""C:\Directory\Config1.XXX""")
That's 3 double quotes at the beginning and end, and two sets of double
quotes with a space in between in the middle.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> It's more likely that the short cut has its Start in property set to the
> folder. If that's not done, then you really can't be sure where the
[quoted text clipped - 33 lines]
>>>
>>> Thanks