Random FileMaker Server commands

28 November, 2011 (14:26) | FileMaker, Script, Server

Some commands I use from time to time when “remoting” into various computers.

Put here to give me a convenient place to copy/paste from!

(64 bit)
    chdir "C:\Program Files (x86)\FileMaker\FileMaker Server\Database Server"

(32 bit)
    chdir "C:\Program Files\FileMaker\FileMaker Server\Database Server"

list open files
	.\fmsadmin list files -uaccount -ppassword

close a file
	.\fmsadmin close file "filewin:/C:/Program Files/FileMaker/FileMaker Server/Data/Databases/Sample/FMServer_Sample.fp7" -y -uaccount -ppassword

close a folder from Mac terminal:
    fmsadmin close "filemac:/minty/Library/FileMaker Server/Data/Databases/showman10/"

disconnect 1 client
	.\fmsadmin disconnect client 12345 -y -uaccount -ppassword