How can I access files that reside in a folder that has different levels of subfolders. Some files are 4 levels deep, some are 3 levels deep etc.. Is there an easy way to do this because accessing the files one folder at a time makes for a long script. I need to be able to get all of the file...
I got the following script from Microsoft Technet. I want to modify it so that instead of having to enter the service name into the script, the user can specify the service. In other words, how do I replace 'DbService' with a variable?
I've tried ...Where Name = '" & Variable &...
When I use the following to delete a registry key:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegDelete "HKLM\SOFTWARE\ODBC\ODBC.INI\"
It won't delete the registry key if there is a subkey (for example; "HKLM\SOFTWARE\ODBC\ODBC.INI\Test"). Is...
How can I unRegister a bunch of .dll files in VBScript?
I have tried using regsvr32.exe but it throws up a dialog box for each file that I have to click on.
I need to get the creation dates for all files in a folder, including the files in any subfolders. I can get the creation dates for files in a folder but if there are a lot of subfolders the script gets really long.
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.