Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12412

Re: System wide memory-only storage?

From "R.Wieser" <address@not.available>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: System wide memory-only storage?
Date 2022-02-10 12:11 +0100
Organization Aioe.org NNTP Server
Message-ID <su2rt8$hel$1@gioia.aioe.org> (permalink)
References <1mfe1tm8sv3bn.1od9m321kpijg$.dlg@40tude.net> <stuhlt$6if$1@gioia.aioe.org> <1hm50ti2564b5$.1rkccix2jdsx8$.dlg@40tude.net> <su0b2f$1ur1$1@gioia.aioe.org> <rdxyc0ntlk6e.12cpubnedum12$.dlg@40tude.net>

Show all headers | View raw


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

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

System wide memory-only storage? JJ <jj4public@gmail.com> - 2022-02-09 00:01 +0700
  Re: System wide memory-only storage? "R.Wieser" <address@not.available> - 2022-02-08 20:31 +0100
    Re: System wide memory-only storage? JJ <jj4public@gmail.com> - 2022-02-09 17:29 +0700
      Re: System wide memory-only storage? "R.Wieser" <address@not.available> - 2022-02-09 13:05 +0100
        Re: System wide memory-only storage? JJ <jj4public@gmail.com> - 2022-02-10 15:56 +0700
          Re: System wide memory-only storage? "R.Wieser" <address@not.available> - 2022-02-10 12:11 +0100
            Re: System wide memory-only storage? JJ <jj4public@gmail.com> - 2022-02-12 02:38 +0700
              Re: System wide memory-only storage? "R.Wieser" <address@not.available> - 2022-02-12 11:34 +0100
  Re: System wide memory-only storage? JJ <jj4public@gmail.com> - 2022-03-13 14:56 +0700

csiph-web