How to ensure network drives are connected for an application?

前端 未结 5 2011
小蘑菇
小蘑菇 2021-01-18 15:03

I have a desktop Windows application that is installed in small office environments.

The application uses an .MDB database file as its database which is

5条回答
  •  北恋
    北恋 (楼主)
    2021-01-18 15:46

    Make sure this script is ran right before the application is started:

    net use f: \\machine_name\share /user:[username] [password] /persistent:yes
    

    This will map the share drive on the letter you specified !

提交回复
热议问题