Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7304 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hello,

How does the com/bat file look like to stop and start FM Server 5? I've tried some but it doesn't work. Please can anybbody give me an example?

Kind regards,

Jeroen

Posted

Hi, Jeroen, and welcome to FM Forums!

Assuming you have FM Server installed at C:Program FilesFileMakerFileMaker Server 5 (the default location), your syntax would be:

C:Program FilesFileMakerFileMaker Server 5fmserver start

and

C:Program FilesFileMakerFileMaker Server 5fmserver stop

There's more detail about this in the Help menu item "Using the command line to automate tasks (Windows)."

HTH,

Jerry

  • Newbies
Posted

Thanks Jerry,

Is it correct to write these lines in a text file and save it like an .bat file?

With FM Server 5 I have to browse to a place where a com/bat file is located.

Kind regards,

Jeroen

Posted

You could also try this from within your .bat or .cmd file:

NET START ServiceName

This command starts Windows services. To stop services:

NET STOP ServiceName

Posted

Name your script file something like StartFM.cmd or StartFM.bat either file extension will work. I like cmd myself. Place one line in the file:

NET START "FileMaker Server"

(I haven't tried this with FileMaker but it works with other services)

The create a new scheduled task. Browse to your cmd or bat file. Fill out the schedule as you see fit. Then test to see if it works.

Posted

Is it correct to write these lines in a text file and save it like an .bat file?

Absolutely. Entering them just as they appear will do the trick, regardless of what directory you're starting from.

TedS said:

NET START "FileMaker Server"

(I haven't tried this with FileMaker but it works with other services)

You're right, Ted--that does, in fact, work for FMS as well, from any starting directory.

J

This topic is 7304 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.