► SLF - Server List Forum

aGSM v. 2.xx => aGSM FAQ (moderated) => Topic started by: MiX on April 28, 2004, 05:58:37 PM



Title: How to make generated HTML overwrite old files?
Post by: MiX on April 28, 2004, 05:58:37 PM
Доброе время суток.. я плохо  знаю английский язык но всё же надеюсь мне помогут..
Как бы зделать чтобы файлы генерировались в один и тотже каталог заменяя(!) старые файлы... То что он для кадого обновления создаёт новую папку это не очень то удобно.
 :(  Буду очень благодарен
Заранее спасибо.


Title: How to make generated HTML overwrite old files?
Post by: piramida on April 29, 2004, 11:11:32 AM
Нужно отредактировать do_net/do_lan .bat файлы, которые создают новые папки. Или просто убрать их.

---
You must edit or remove do_net/do_lan .bat files, which are creating new subfolders based on refresh time.


Title: How to make generated HTML overwrite old files?
Post by: tr7 on July 19, 2004, 09:37:43 AM
piramida, could u explain what must be included in the do_lan/do_net.bat . For example i'm using agsm for lan. And i want the output to overwrite the older lan.html and not save as a new folder .

@echo off

mkdir %1 > nul

mkdir %1\lan > nul
move ls*.* %1\lan > nul
move lan.html %1 > nul

above is the default value when i want to edit do_lan.bat
i'm really dunno what should i replace . help me pls :(  


Title: How to make generated HTML overwrite old files?
Post by: piramida on July 19, 2004, 07:58:14 PM
if you just want the output to overwirte old files, remove the do_lan.bat file (just delete it). the only purpose it serves is to create new directory based on date and move stuff there.


Title: Re: How to make generated HTML overwrite old files?
Post by: achiever on June 13, 2007, 03:54:39 PM
i m getting error when i delete my do_lan.bat file

shellExecute do_lan.bat ==2

plzz help.
thanks,
achiever.


Title: Re: How to make generated HTML overwrite old files?
Post by: piramida on June 13, 2007, 06:25:24 PM
Hm, and if you create an empty file? Right, it tries to execute do_lan.bat but it should gracefully recover... We'll look into it.


Title: Re: How to make generated HTML overwrite old files?
Post by: achiever on June 18, 2007, 12:20:14 PM
i have changed the do_lan.bat file and left only @echo off as its content and now its working.
i.e it overwrites the html files.

thanks for ur help,
achiever.


► SLF - Server List Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved. Hosted by mkHS.