Jump to content

Houston

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Houston

  1. I am trying to see if there is a way to accomplish this: We are moving to a new location. Our printers are changing names to reflect the new location. I need to write a script that can be ran on a users computer to look at what printer they are currently using and map to the printer that is replacing the old printer name. Then delete the old printer. Any thoughts or ideas would be greatly appreciated. Thanks
  2. Thanks for that idea. I tried it on a couple different models of PC. It worked on my PC which is a single core processor (returned 2048). However, when I ran it on a dual core machine, it returned "0" for the value. Regardless of what these articles say, I would still like to figure out a way to automate from the text file I have attached. Thanks.
  3. Hello, This is my first post in this forum, so be gentle. Here is the basic idea of what I am trying to do... I am trying to write a script that will search through a text file on the c:\ and then take that string and make an edit to a specific registry key. I am trying to run cpuz.exe to find out the L2 cache for the specific PC. I run the exe from a batch file (would like to incorporate that into autoit) with the following line: cpuz.exe -txt=c:\mysystem Once I have the .txt file on the client computer, I want to have a script that will search the output file for the L2 cache size. I have a attached the .txt file. example: 512 1024 2048 Depending on the size of the cache, I want to make the correct edit to the following registry key [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] "SecondLevelDataCache"=dword:00000200 For the dword value, use the corresponding value for the size of cache: 512 = 00000200 1024 = 00000400 2048 = 00000800 Any help to do this would be great. Thanks mysystem.txt
×
×
  • Create New...