Jump to content
The Uniform Server Community

fredt

Member
  • Posts

    1
  • Joined

  • Last visited

fredt's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I think this wasn't solved so far... If I'm wrong, plz erase this post ! My Uniform server directory is located on D:\Progz\Uni1 - so Server_Start.bat will try to launch from C: when I double-click it... and won't work. So I had to open a prompt, D: cd progz\uni1 server_start I found a nice solution on jsifaq, http://www.jsifaq.com/SUBU/tip10400/rh10486.htm and http://www.jsifaq.com/SUBA/tip0400/rh0494.htm. I now have: %~dp0diskw\home\admin\program\pskill.exe Apache.exe IF NOT ERRORLEVEL 1 goto started set Disk=%1 IF "%Disk%"=="" set Disk=w rem create the disk subst %Disk%: "%~dp0diskw" IF ERRORLEVEL 1 goto hint set apachepath=\usr\local\apache2\ set apacheit=%Disk%:%apachepath%bin\Apache.exe -f %apachepath%conf\httpd.conf -d %apachepath%. set programit=%Disk%:\home\admin\program\ set closeit=%programit%close.bat %Disk% And it works PERFECT ! .... did I mention I LOVE UNIFORM SERVER ? FredT
×
×
  • Create New...