I've implemented Bob Larson's frontend auto-updater which runs a batch
file that deletes an existing copy of my .accde and then replaces it
with a copy of the most recent .accde file.
When I run the auto-updater from an .accde locally on my Windows Vista
laptop, it works great. But when I run it on an XP terminal server I
run into an error. The code is successfully deleting the old .accde
and replacing it with a new one, but when it tries to restart I get a
message that says "The command line you used to start Microsoft Office
Access contains an option that Microsoft Office Access doesn't
recognize. Exit and restart Microsoft Office Access using valid
command-line options."
This is followed by a message that says "Microsoft Office Access
couldn't find file '\\servername\DAS'. This file is required for
startup." That path is the beginning of the path to my MDW file, but
the actual path used in the batch file is "\servername\DAS Files
\Pipeline Database\Files\System\Security.mdw".
In other words, it's not recognizing the space as part of the path.
Has anyone ever encountered this? Is there another way to use a path
containing spaces in the batch file?