In a couple of place in my code I check if the file exists (it does) then I try to Run the file as above, or get the `DateLastModified`, and get errors about file not found or invalid path. How can the script NOT see a file after confirming it exists?

I'm working up a .vbs script that tries to run an Access .mdb file. The `WScript.Run` command seems to choke on the filename, but putting a `MsgBox()` before that call to display the path allows Run to work properly. I don't want to display a popup.

Error is:

> 
> The directory name is invalid.
> 
> 
> 

How is this possible and how can I get around it?

Here is code:

```
AccessFileName  = "App.mdb"         
LocalPath       = "C:\Folder\"  

SET ws = WScript.CreateObject("WScript.Shell")    
path = Chr(34) & LocalPath & AccessFileName  & Chr(34) 

if (fso.FileExists(LocalPath & AccessFileName)) THEN    
   'MsgBox(path)   'Uncommenting this line removes the error    
    ws.Run path   'This line errors   
End If   

```