# Creating batch file to start mongrel server

**URL:** <https://www.ruby-forum.com/t/creating-batch-file-to-start-mongrel-server/179377>\
**Category:** Rails\
**Created:** [November 23, 2009, 10:19pm UTC](https://www.ruby-forum.com/t/creating-batch-file-to-start-mongrel-server/179377 "2009-11-23T22:19:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhonda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/898d66/32.png) [@rhonda](https://www.ruby-forum.com/u/rhonda)\
**Post date:** [November 23, 2009, 10:19pm UTC](https://www.ruby-forum.com/t/creating-batch-file-to-start-mongrel-server/179377/1 "2009-11-23T22:19:38Z")

</div>

Hi all!

I have a database set up to run only on an external hard drive. I am  
trying to create a batch file to automatically start the mongrel server  
and then open a local host url. On the external hard drive, I have one  
folder with Ruby installed and one folder for the project. I need to  
create the .bat file to read what drive the external hard drive is on  
and then go to the Ruby directory to start the server, then go to the  
project directory to open the web page.

Any ideas?

Thanks!

Rhonda
