Re: write in exist file
- From: "Walser Mark" <mw@xxxxxxxxxxxx>
- Date: Fri, 12 Oct 2007 15:22:45 +0200
it runs perfectly now.
thanks
"Pegasus (MVP)" <I.can@xxxxxxx> schrieb im Newsbeitrag news:u9ZBJ5KDIHA.3716@xxxxxxxxxxxxxxxxxxxxxxx
"Walser Mark" <mw@xxxxxxxxxxxx> wrote in message news:E45EE2F4-FD39-4C55-8754-BA69A9C18B13@xxxxxxxxxxxxxxxxhello
this script run with policy, when the user logged in.
I want a list of every computers.
the problem is, that every user write a new textfile. the last user who log in is written in the textfile.
how can I do that?
Set NWT = CreateObject("WScript.Network")
errorfile="\\server\temp$\vbs_error.txt"
Set errorlogfile=FileSystem.CreateTextFile(errorfile, True)
errorlogfile.WriteLine NWT.ComputerName
thanks
Try this:
const Append=8
Set errorlogfile = FileSystem.OpenTextFile(errorfile, Append)
.
- References:
- write in exist file
- From: Walser Mark
- Re: write in exist file
- From: Pegasus \(MVP\)
- write in exist file
- Prev by Date: Re: Copying files after validating the source
- Next by Date: Re: Copy file with multiple names
- Previous by thread: Re: write in exist file
- Index(es):
Relevant Pages
|