fredt Posted May 12, 2006 Report Share Posted May 12, 2006 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\uni1server_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.exeIF NOT ERRORLEVEL 1 goto startedset Disk=%1IF "%Disk%"=="" set Disk=wrem create the disksubst %Disk%: "%~dp0diskw"IF ERRORLEVEL 1 goto hintset 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 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.