Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 02-29-2008, 09:22 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

This should also do the same thing with less "fluff":

Code:
ren "C:\Program Files\Sony\EverQuest\nektulos.eqg" nektulos.eqg.bak
However, it would have to be on the C drive and under the Sony folder (when EQ first came out, it was installed to "Program Files\EverQuest", which could pose a problem). You could make it a little more dynamic this way:

Code:
@echo off
CLS

ECHO Locating nektulos.eqg ...
ECHO.
IF EXIST "C:\Program Files\Sony\EverQuest\nektulos.eqg" GOTO C_SONY_EQ
IF EXIST "C:\Program Files\EverQuest\nektulos.eqg" GOTO C_EQ
IF EXIST "D:\Program Files\Sony\EverQuest\nektulos.eqg" GOTO D_SONY_EQ
IF EXIST "D:\Program Files\EverQuest\nektulos.eqg" GOTO D_EQ
IF EXIST "E:\Program Files\Sony\EverQuest\nektulos.eqg" GOTO E_SONY_EQ
IF EXIST "E:\Program Files\EverQuest\nektulos.eqg" GOTO E_EQ

ECHO Unable to locate nektulos.eqg!
GOTO END

:C_SONY_EQ
ECHO Found "C:\Program Files\Sony\EverQuest\nektulos.eqg!"
REN "C:\Program Files\Sony\EverQuest\nektulos.eqg" nektulos.eqg.bak
IF ERRORLEVEL 1 (ECHO Rename failed!) ELSE (ECHO Renamed nektulos.eqg to nektulos.eqg.bak)
GOTO END

:C_EQ
ECHO Found "C:\Program Files\EverQuest\nektulos.eqg"
REN "C:\Program Files\EverQuest\nektulos.eqg" nektulos.eqg.bak
IF ERRORLEVEL 1 (ECHO Rename failed!) ELSE (ECHO Renamed nektulos.eqg to nektulos.eqg.bak)
GOTO END

:D_SONY_EQ
ECHO Found "D:\Program Files\Sony\EverQuest\nektulos.eqg"
REN "D:\Program Files\Sony\EverQuest\nektulos.eqg" nektulos.eqg.bak
IF ERRORLEVEL 1 (ECHO Rename failed!) ELSE (ECHO Renamed nektulos.eqg to nektulos.eqg.bak)
GOTO END

:D_EQ
ECHO Found "D:\Program Files\EverQuest\nektulos.eqg"
REN "D:\Program Files\EverQuest\nektulos.eqg" nektulos.eqg.bak
IF ERRORLEVEL 1 (ECHO Rename failed!) ELSE (ECHO Renamed nektulos.eqg to nektulos.eqg.bak)
GOTO END

:E_SONY_EQ
ECHO Found "E:\Program Files\Sony\EverQuest\nektulos.eqg"
REN "E:\Program Files\Sony\EverQuest\nektulos.eqg" nektulos.eqg.bak
IF ERRORLEVEL 1 (ECHO Rename failed!) ELSE (ECHO Renamed nektulos.eqg to nektulos.eqg.bak)
GOTO END

:E_EQ
ECHO Found "E:\Program Files\EverQuest\nektulos.eqg"
REN "E:\Program Files\EverQuest\nektulos.eqg" nektulos.eqg.bak
IF ERRORLEVEL 1 (ECHO Rename failed!) ELSE (ECHO Renamed nektulos.eqg to nektulos.eqg.bak)
GOTO END

:END
ECHO.
PAUSE
This will search drives C, D, and E in both Sony\EverQuest and EverQuest for nektulos.eqg. It will rename the first one it sees and give some semi-useful output based on what happens.

I'm sure there's a way to make it even more dynamic, but that's a little over my head at the moment.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:20 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3