Its simpler to use a batch file.
-->8 IF NOT EXIST C:\Windows\Logs shutdown -l -t 0 -->8 "Coreman" <Coreman[ at ]discussions.microsoft.com> wrote in message news:2181DE63-7409-4ED8-98C3-CC782661FDCB[ at ]microsoft.com...
[Quoted Text] > Hi there. > > Could somebody help me with logoff script in VBS. > > This is the criteria: > > when one user login on a computer, and this script will try to check if > there are any folder\directory such as: c;\windows\logs > if exist continue login > else logoff. > > many thanks > > kind regards > > Ali > >
|