Thank you all,
I found a other script :
Const ForReading = 1
Set wshShell = WScript.CreateObject( "WScript.Shell" )
strComputerName = wshShell.ExpandEnvironmentStrings( "%COMPUTERNAME%" )
set objNetwork = WScript.CreateObject("WScript.Network")
Set obj =...
Hello everybody,
I'm trying to convert a BAT script to VBS, i'm also new in the VBS world.
I've already tried some scripts frome google.
This is the BAT script:
@echo off
pushd %LOGONSERVER%\netlogon\LimitLogin\
For /F "Tokens=1" %%I in ('TYPE Z:\LimitLogin\logs\%USERNAME%.txt') Do Set...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.