► SLF - Server List Forum
Welcome, Guest. Please login or register.
December 05, 2008, 01:08:20 PM

Login with username, password and session length
Search:     Advanced search
7170 Posts in 456 Topics by 6943 Members
Latest Member: ssoofftt
* Home Help Login Register
► SLF - Server List Forum  |  aGSM v. 2.xx  |  aGSM FAQ (moderated)  |  Topic: How to make generated HTML overwrite old files? 0 Members and 1 Guest are viewing this topic.
Pages: [1] Go Down Print
Author Topic: How to make generated HTML overwrite old files?  (Read 3654 times)
MiX
*
Offline Offline

Posts: 1



How to make generated HTML overwrite old files?
« on: April 28, 2004, 05:58:37 PM »

Доброе время суток.. я плохо  знаю английский язык но всё же надеюсь мне помогут..
Как бы зделать чтобы файлы генерировались в один и тотже каталог заменяя(!) старые файлы... То что он для кадого обновления создаёт новую папку это не очень то удобно.
 Sad  Буду очень благодарен
Заранее спасибо.
Logged
piramida
Administrator
*****
Offline Offline

Posts: 1070



WWW
How to make generated HTML overwrite old files?
« Reply #1 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.
Logged
tr7
*
Offline Offline

Posts: 1



How to make generated HTML overwrite old files?
« Reply #2 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 Sad  
Logged
piramida
Administrator
*****
Offline Offline

Posts: 1070



WWW
How to make generated HTML overwrite old files?
« Reply #3 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.
Logged
achiever
*
Offline Offline

Posts: 10


Re: How to make generated HTML overwrite old files?
« Reply #4 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.
Logged
piramida
Administrator
*****
Offline Offline

Posts: 1070



WWW
Re: How to make generated HTML overwrite old files?
« Reply #5 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.
Logged
achiever
*
Offline Offline

Posts: 10


Re: How to make generated HTML overwrite old files?
« Reply #6 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.
Logged
Pages: [1] Go Up Print 
► SLF - Server List Forum  |  aGSM v. 2.xx  |  aGSM FAQ (moderated)  |  Topic: How to make generated HTML overwrite old files?
Jump to:  

Powered by MySQL Powered by PHP ► SLF - Server List Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved. Hosted by mkHS.
Valid XHTML 1.0! Valid CSS!