Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jeroen1

    Read reg file

    Hi, I've been working on a script that reads the contents of a .REG file and converts it to entire key's so it can check the keys agains the registry. there's just one bug in it: it will fail on DWORD value's even if there correct. 'Constants...
  2. jeroen1

    Read .reg file

    Hi, I've cleared out my design and started testing each part individually. This payed off, because I'm allmost there! :) This is the current script: Const ForReading = 1, ForWriting = 2, ForAppending = 8 Set objFSO = CreateObject("Scripting.FileSystemObject") strFile = "U:\test.reg"...
  3. jeroen1

    Read .reg file

    Hi, I've had a little change in tactic, but I've allmost got it now: Const ForReading = 1, ForWriting = 2, ForAppending = 8 Set objFSO = CreateObject("Scripting.FileSystemObject") strFile = "U:\test.reg" If objFSO.FileExists(strFile) Then Set objFile = objFSO.GetFile(strFile) Set filetxt...
  4. jeroen1

    Read .reg file

    true, but it does limit the flexibility. I've started looking into Regular Expressions, which looks like the way to go. what I'm not getting yet though, is how can I match a string between two characters? so for example, everything between ] and [? regards, jeroen
  5. jeroen1

    Read .reg file

    well, I do know what reg keys need to be checked, but because there are several reg files that should be imported during installation, and I would like to keep the script flexible, it would be more suitable to read .reg files and scan accordingly, than to read the .reg files myself and put in an...
  6. jeroen1

    Read .reg file

    No, my primary goal is to check if the server has all the correct registry keys. the servers are RISsed on a regular basis (terminal servers) and I would like to check if all installations happen correctly. regards, jeroen
  7. jeroen1

    Read .reg file

    well, I have this script that checks a server to see if an installation is done correctly (which is also done by a script). Since several applications are installed with added .reg files, I would like to check it like this, so I won't have to put all the loose registry entries in the check...
  8. jeroen1

    Read .reg file

    Hi, I'm trying to write a script that reads .reg file and can compare it to the registry to see if there's a match. I've got the registry checking part all done in another script, so in this one, I'm looking for reading the .reg file and creating strings that I can use in the regchecking...
  9. jeroen1

    compare files and folders

    Hi, We use a couple of scripts that install several applications, copy's files, set registry settings, and so on... Now I'm working on a script that checks to see if the server installed ok. One of the parts that I would like to check is a comparison of a local directory and a network folder...
  10. jeroen1

    webmail only + delete mail after one month Opties

    Thanks for the response. Scottew, I've tried this, but I'm getting 500 error messages as soon as I restrict the logons. Our OWA server is also DC, so maybe this could have something to do with it. I am trying to convince them it is not a good idea to run exchange on a DC, but it was like this...
  11. jeroen1

    webmail only + delete mail after one month Opties

    Hi, I've been asked to setup a couple of user accounts that should only have webmail access. So they aren't allowed to logon to any workstation or server. Then the mails that these accounts receive should be deleted after one month. Is this possible and if so, how? regards, Jeroen
  12. jeroen1

    Use Excel to find the diff between dates

    Hi, I'm totally new to VB, so forgive me for any "stupid" questions. First I would like to know where I could find a good tutorial? but until I found one I would like to know the following: Is it possible to create a script that reads 2 cells from a row containing two dates and have the script...

Part and Inventory Search

Back
Top