Hi all,
I'm attempting to create a batch file which I have successfully managed with databases that does not contain user security.
What the script does is compacts the db and saves a copy to a named location.
I can get it to open the db with my work group file but how do I pass it the username and password so it can log in automatically?
so far I have this.
"c:\Program Files\Microsoft Office\Office\msaccess.exe" "mydbpath" /wrkgrp "mywrkgrppath" /compact
copy /y path1 path2
Any help would be greatly appreciated.
kempes
I'm attempting to create a batch file which I have successfully managed with databases that does not contain user security.
What the script does is compacts the db and saves a copy to a named location.
I can get it to open the db with my work group file but how do I pass it the username and password so it can log in automatically?
so far I have this.
"c:\Program Files\Microsoft Office\Office\msaccess.exe" "mydbpath" /wrkgrp "mywrkgrppath" /compact
copy /y path1 path2
Any help would be greatly appreciated.
kempes