Thread: New compile.bat
View Single Post
rex
Senior Member
Join Date: Mar 2004
Location: Australia
Old 07-22-2004 , 05:16  
Reply With Quote #10

can you just make it write the .cbtmi into another directory?
eg \addons\amxx\scripting\check
instead of just \addons\amxx\scripting
something like this.
IF "%cbnewest%"=="check\0%1.cbtmi"
that way the hidden files wouldn't be in the scripting directory.
just an ideal.
or maybe if you have the compile.bat in another directory and just a shortcut to it in the scripting directory.

or or
hang testing this out.
here you go, this should work.
if you add these lines to the compile.bat file.
to the very top
move check\*.cbtmi
cls

eg
Code:
move check\*.cbtmi cls @ECHO OFF REM ******* Write header *******   ECHO AMX Mod X   ECHO.   ECHO by the AMX Mod X Development Team   ECHO originally developed by OLO   ECHO.   ECHO This file is part of AMX Mod X.   ECHO.
and to the bottom
if not exist check mkdir check
attrib -h *.cbtmi
move *.cbtmi check [/small]

eg
Code:
REM ***** Pause so the user can read the output pause if not exist check mkdir check attrib -h *.cbtmi move *.cbtmi check
that way all the .cbtmi files are in there own directoy and only show in the scripting directoy while compile.bat is running.
not really a fix but a work around
__________________
Come and join us at Cricket Manager
http://boundary.cricketmanager.co.uk...t Manager Fans
rex is offline
Send a message via MSN to rex