[AccessD] this should be an easy one -- on Windows shortcuts

MartyConnelly martyconnelly at shaw.ca
Mon Aug 18 02:31:33 CDT 2003


You could put this code below in a notepad file call it try.bat and 
execute the batch file from the shortcut.
You can remove the echo command to see what is happening
However this has the annoying habit of leaving the cmd window open or 
minimized in the systray
until you exit Access.

@Echo Off
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE"  "C:\xml\Access 
XML tests\RSS xml.mdb" /compact
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "C:\xml\Access 
XML tests\RSS xml.mdb"
@cls

Susan Harkins wrote:

>"C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" C:\a\topics.mdb
>/compact
>
>I tried the above as a shortcut's Target property to open a database and
>compact and repair it -- problem is, the database doesn't stay open. I want
>it to stay open.
>
>Susan H.
>
>_______________________________________________
>AccessD mailing list
>AccessD at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/accessd
>Website: http://www.databaseadvisors.com
>
>  
>




More information about the AccessD mailing list