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
__________________