Making a .cmd file to launch server

Thought someone might find this useful!

  1. Make a file in your root server directory (C:\MyRedMServer if you followed this tutorial - How to setup a RedM Server)
  2. Name this file whatever you like (mine is start_server.cmd)
  3. In the file you created, paste the following:

@ECHO
CD C:\MyRedMServer\server-data
START C:\MyRedMServer\server-files\run.cmd +exec C:\MyRedMServer\server-data\server.cfg +set gamename rdr3 +set sv_licenseKey ChangeMeToYourServersKey

  1. Be sure to change the text above to your liking, the most important being the START line, both your paths to your run.cms file and server.cfg must be correct

If you need help or more info with batch files see this link : https://www.wikihow.com/Write-a-Batch-File

Feel free to ask me for help if you run in to problems, I will do my best to help
Sorry for the immense amount of edits on this post.

1 Like

Windows can’t find run.cmd

1 Like