Path: csiph.com!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail From: "R.Wieser" Newsgroups: microsoft.public.scripting.vbscript Subject: Re: System wide memory-only storage? Date: Thu, 10 Feb 2022 12:11:21 +0100 Organization: Aioe.org NNTP Server Lines: 30 Message-ID: References: <1mfe1tm8sv3bn.1od9m321kpijg$.dlg@40tude.net> <1hm50ti2564b5$.1rkccix2jdsx8$.dlg@40tude.net> Injection-Info: gioia.aioe.org; logging-data="17877"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; X-RFC2646: Format=Flowed; Original X-Priority: 3 X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com microsoft.public.scripting.vbscript:12412 JJ, > e.g. a counter for how many times a script has been run, for the current > login session. Kind of like how Windows stores the tick counter, which is > not persistent across system reboot, and always reset at system startup. In that regard (making it session bound) I could imagine a small "erase/create a new statistics file" command/script* in the startup folder (which you than append to in the scripts). Perhaps not perfect, but /should/ give you a clean slate every time. *would even allow you to make some "last X sessions" log-file stack ... > I'm pretty sure there's somewhere in the built in Windows > applications/services which can be used. It's just, it's like > finding a needle in a haystack. Isn't that often the case ? All the "fun stuff" only known by a few, who, more often than not, stumbled over it by those themselves ? Something just occured to me : If the logfile should really disappear on its own why not create a ramdisk and put the logfile on it ? https://www.codeguru.com/windows/ramdisk-version-1-0-for-windows-2000-windows-xp/ Regards, Rudy Wieser