RE: Batch file and 4DLink file on windows 2008 server

2017-08-17 Thread Justin Will via 4D_Tech
John,

I use this in a batch file successfully all the time.  Your code looked good to 
me.  Perhaps you could try moving the .link file to another location like the 
root of the C: drive and see if that makes a difference.

start "" "C:\Program Files\4D\4D v13.5 HF1\4D\4D.exe" "C:\mydblinkfile.4DLink"

Thanks
Justin Will
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Batch file and 4DLink file on windows 2008 server

2017-08-17 Thread John Baughman via 4D_Tech
I have a batch file for 4D server working to start 4D Server when the machine 
starts up.

I am trying to create a batch file for 4D client, but cannot get the client to 
open the remote database. This is for a client on the same machine as the 
server. The batch file looks like this…

START "" "C:\Program Files (x86)\4D\4D v16.1\4D\4D.exe" 
"C:\Users\Administrator\AppData\Roaming\4D\Favorites v16\Remote\QDGDocs.4Dlink”

The client opens but does not connect to the server. I copied the path to the 
4DLink file so I am certain that it is correct, and this is the only 4DLink 
file on the computer besudes the one for the server. The 4DLInk file looks like 
this…

mailto:john...@hawaii.rr.com>





**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**