Using a table to store a single string (ie., the Path location) uses a lot of resources.
Another method, which has not been stated in previous responses, is to set a Database Property. I've actually used this with many of my databases, for storing the same thing- the pathname of a specific file.
I created 2 functions for this, the CreatePrp and the UpdatePrp functions.
The CreatePrp will Create a new Custom database property. If the property exists, it will only update the property. Use this if you're not sure if the property exists.
The UpdatePrp function will only update properties that already exist. If you know you've already create the property, then use this one. It's slightly more efficient, since it does not require you to create extra references.
Function CreatePrp(strPrpName As String, strPrpVal As String) As Boolean
CreatePrp = False ' Set initially to false, in case any error happens, _
and the function does not complete
Dim dbs As Database
Dim prp As Property
Set dbs = CurrentDb
Dim doc As Document
On Error GoTo Err_CreatePrp
Const PrpExists = 3367
Set doc = dbs.Containers!Databases.Documents!UserDefined
Set prp = doc.CreateProperty(strPrpName, dbText, strPrpVal)
doc.Properties.Append prp
CreatePrp = True
GoTo Exit_CreatePrp
Err_CreatePrp:
Select Case Err.Number
Case PrpExists
Set prp = dbs.Containers!Databases.Documents!UserDefined.Properties(strPrpName)
prp.Value = strPrpVal
CreatePrp = True
Case Else
MsgBox "Error #: " & Err.Number & " Function: CreatePrp" _
& "@An unknown error has occured!" _
& "@Please take note of the Error #, Function Name, and what you were doing when" _
& vbCrLf & "this error occurred, and contact the program's author.", _
vbOKOnly + vbExclamation, "Error..."
End Select
Exit_CreatePrp:
Set doc = Nothing
Set prp = Nothing
Set dbs = Nothing
End Function
Function UpdatePrp(strPrpName As String, strPrpVal As String) As Boolean
UpdatePrp = False ' Set initially to false, in case any error happens, _
and the function does not complete
Dim dbs As Database
Dim prp As Property
Set dbs = CurrentDb
On Error GoTo Err_UpdatePrp
Const prpNotExist = 3270
Set prp = dbs.Containers!Databases.Documents!UserDefined.Properties(strPrpName)
prp.Value = strPrpVal
UpdatePrp = True
GoTo Exit_UpdatePrp
Err_UpdatePrp:
Select Case Err.Number
Case prpNotExist
MsgBox "Property Does Not Exist" _
& "@Code has been run, that attempts to update a property that does not exist." _
& "@Try replacing the call for ""UpdatePrp"" with a call to ""CreatePrp""." _
& vbCrLf & "If you need assistance, please contact the program's author.", _
vbOKOnly + vbExclamation, "Error..."
Case Else
MsgBox "Error #: " & Err.Number & " Function: UpdatePrp" _
& "@An unknown error has occured!" _
& "@Please take note of the Error #, Function Name, and what you were doing when" _
& vbCrLf & "this error occurred, and contact the program's author.", _
vbOKOnly + vbExclamation, "Error..."
End Select
Exit_UpdatePrp:
Set prp = Nothing
Set dbs = Nothing
End Function
Sub TestCreatePrp()
' Test creating (or updating) a new database property
If CreatePrp("NewPrp", "Test String Value"

Then
MsgBox "Congratulations! You created/Updated a new Custom Database Property!", vbOKOnly + vbInformation _
, "Congratulations!!!"
End If
End Sub
Sub TestUpdatePrp()
' Test Updating (only) a custom database property
If UpdatePrp("NewPrp", "Test String Value2"

Then
MsgBox "Congratulations! You have Updated a Custom Database Property!", vbOKOnly + vbInformation _
, "Congratulations!!!"
Else
MsgBox "You have failed. Don't give up- you'll get it!", vbOKOnly + vbExclamation, "Sorry, you failed..."
End If
End Sub