I have a bat file which updates the latest Access front end file and then opens it. Code is:
@echo off
REM ping anvremote-pc >NUL
REM IF ERRORLEVEL 0 (goto :copyfrontend) ELSE goto :skipcopy
REM :copyfrontend
c:
cd\@ANVdbFrontEnd
copy ANVdbFrontEnd.mde c:\users\boba\@ANV /y
rem :skipcopy
c:
cd\users\boba\@anv
rem ANVdbFrontEnd.mde
cmd /c start MSACCESS c:\users\boba\@ANV\ANVdbFrontEnd.mde
works fine from within a virtual desktop. If I try to set the bat file up as a specific program to run and run it w/o loading the desktop, it starts to load the Access database then closes out.
Suggestions?
Bob