
Want script that mapped drive based on user logon name
There is one difference here. Unlike the use of net.exe, this approach does not determine the next available drive letter to be used in the mapping. That must either be known or a search for an …
Unable to Create a Certificate CMC request. Client Side Error …
If I create my CMC object from the objectClassFactory.CreateObject, then I get the ACCESS DENIED, but if I create the CMC object by just calling the CreateObject …
VBScript for parsing multiple text files
intCol = 0 Set objFSO = CreateObject ("Scripting.FileSystemObject") Set objFolder = objFSO.GetFolder (strFolder) For Each objFile In objFolder.Files intCol = intCol + 1 Set …
How to verify from a list of servers if they are belong to a domain …
Feb 16, 2011 · Set objFSO = CreateObject ("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile (strFile, ForReading) ' Determine DNS name of root domain from …
VBScript: Read Line from Text File / Write Line to New Text File
All replies 2 Sign in to vote Here is an example Dim WshShell, oExec Set wshShell = CreateObject ("WScript.Shell") Set objFSO = CreateObject ("Scripting.FileSystemObject") Set …
How to trigger unread emails for a given period
I kindly need your help on the following. I have a mailbox that receives huge number of emails per day , I`m processing those all unread emails every one minute using a third party tool and …
Problem opening IE in fullscreen mode using VBScript
Unfortunately, when I run this script IE opens full screen EXCEPT that the task bar is still visible (and the IE taskbar icon flashes). This happens on XP and on later Windows platforms.
Delete Internet Temp Files on shutdown
Jun 10, 2008 · Is there a setting for deleting the internet temp files when a user logs off or shuts down? I realize there is one to empty temp files on close if IE, but that will nto work for us. …
Problem with runas using vbscript - social.technet.microsoft.com
Sure no worries...i've created a demo script and over commented it to try and explain the logic of using the SendKeys Function with the AppActivate method to ensure the window you are …
VBScript- find IP and gateway - social.technet.microsoft.com
'open the file system object Set oFSO = CreateObject ("Scripting.FileSystemObject") set WSHShell = wscript.createObject ("wscript.shell") 'open the data file Set oTextStream = …