
Originally Posted by
isladogs
See post #3
I read post #3, but it didn't sink in. My developer friend straightened me out and wrote a .reg file for me.
Now the .bat calls the .reg file and everything works like clockwork.
Code:
"C:\FITS\reg\FITS.reg"
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\FITSLocation0]
"Path"="C:\\FITS\\"
"Description"="FITS Location"
"Date"="02/18/2020 05:00 AM"
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Access\Security\Trusted Locations\FITSLocation0]
"Path"="C:\\FITS\\"
"Description"="FITS Location"
"Date"="02/18/2020 05:00 AM"
Thanks to everybody that played.
Paul