Jump to content

5eraph

Members
  • Posts

    44
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by 5eraph

  1. If those have fixed speed, does this mean that I can't buy one with more rpm and then reduce the speed with my case fan controller?

    No, you can always undervolt the fan with your controller to reduce its speed. Most fan controllers are simple potentiometers (they vary circuit resistance to drop the voltage).

    My suggestion to you is to choose the fan with the loudest noise that you can tolerate, then use your controller to reduce its speed when you want it silenced.

    General tips:

    • [*]If you keep your tower on your desk then choose the quietest fan that does the job. Personally, I'd never put my tower on the desk
  2. As large as it is, this list does not include every game I've ever played. Each of the following was my favorite at one time or other, ordered chronologically from childhood to adult. Game platform is specified where appropriate. Multiple games in a series are listed only once under the series name when I first liked it. With the exceptions of Oblivion and Dead Space (still working on them), if the game has an ending then I've played through to see it. My all-time favorite is bulleted.

    Speak & Spell (The original. Yes, really.)

    Phoenix (arcade, Atari 2600)

    Dig Dug (arcade, Atari 400)

    Killer Bees! (Odyssey

  3. Probably not, N1K. Your motherboard may not support that speed directly, but you may be able to clock your RAM above 1333 by creatively adjusting (overclocking) your CPU speed and multiplier.

  4. We can nest most of the code within a couple more If statements to skip TXT and HTML files:

    if /I NOT "!FILENAMECHECK:~-4!"==".txt" (
    if /I NOT "!FILENAMECHECK:~-5!"==".html" (

    I also simplified your Microsoft Security Essentials file processing using the variable !SETUPPATH!, which allows you to make similar adjustments to files you may add in the future.

    Here is the final code with all modifications. It is untested.

    set /a NUM=0
    if not exist "%WIM%\Windows\Setup\Updates" mkdir "%WIM%\Windows\Setup\Updates" >nul
    FOR %%f IN ("*.*") DO (
    set "FILENAMECHECK=%%f"
    if /I NOT "!FILENAMECHECK:~-4!"==".txt" (
    if /I NOT "!FILENAMECHECK:~-5!"==".html" (

    set /a ROENUM=!NUM!*5
    If !ROENUM! LSS 10 (set "ROESTR=00!ROENUM!") ELSE (
    If !ROENUM! LSS 100 (set "ROESTR=0!ROENUM!") ELSE (
    set "ROESTR=!ROENUM!"))

    set "SWITCH=/q"
    set "NAME=%%f"
    set "SETUPPATH=%%f"

    if /I "!FILENAMECHECK:~-4!"==".exe" (

    if /I "!FILENAMECHECK:~0,7!"=="DirectX" (
    set "SWITCH=/Q /T:\"%WinDir%\Setup\Updates\DX\" /C:\"%WinDir%\Setup\Updates\DX\dxsetup.exe /silent\""
    set "NAME=DirectX Redistributable")

    if /I "!FILENAMECHECK:~0,15!"=="GamesForWindows" (
    set "NAME=Games for Windows - LIVE")

    if /I "!FILENAMECHECK:~0,11!"=="Silverlight" (
    set "NAME=Microsoft Silverlight")

    if /I "!FILENAMECHECK:~0,16!"=="windows-kb890830" (
    set "NAME=Malicious Software Removal Tool")

    if /I "!FILENAMECHECK:~0,7!"=="wlsetup" (
    set "SWITCH=/silent"
    set "NAME=Windows Live Essentials")

    if /I "!FILENAMECHECK:~0,8!"=="rootsupd" (
    set "NAME=Root Certificates Update")

    if /I "!FILENAMECHECK:~0,4!"=="msse" (
    set "NAME=Microsoft Security Essentials"
    "%%f" /Q /X:"%WIM%\Windows\Updates\MSSE"
    set "SETUPPATH=MSSE\setup.exe"
    set "SWITCH=/s /runwgacheck /o")
    )

    if /I "!FILENAMECHECK:~-4!"==".msi" (
    if /I "!FILENAMECHECK:~0,11!"=="PlayReadyPC" (
    set "SWITCH=/quiet /norestart"
    set "NAME=PlayReady PC Runtime"))

    REG ADD %ROE%\!ROESTR! /ve /d "!NAME!" /f >nul
    REG ADD %ROE%\!ROESTR! /v "!NAME!" /d "%WinDir%\Setup\Updates\!SETUPPATH! !SWITCH!" /f >nul

    If /I "!SETUPPATH!"=="%%f" (copy /Y "%%f" "%WIM%\Windows\Setup\Updates")>nul

    set /a NUM+=1
    )) )

  5. Links to the motherboard spec sheets would be more useful. Or just the specific names and model numbers so we could Google them ourselves. Some motherboards are very specific about the processors and memory that can be used. This information is absolutely necessary when swapping parts. ;)

  6. I'm sorry for the delay. I've been away.

    It looks like NAME should work in your revised code for the instances where you have it defined. The only problem I see is when files are found that don't match your file name checks. This is easily solved with a single line of code, set "NAME=%%f", in the right place as shown in the new code below.

    Also, most of the files we are looking for end with ".exe". The If statements can be rearranged to simplify the code by writing the check for ".exe" only once. This makes the code far more efficient when a file does not end with ".exe" by reducing the number of checks these files need to go through.

    EDIT: I forgot to make the changes you mentioned in your last reply. Fixed.

    SETLOCAL EnableDelayedExpansion

    echo.
    echo Adding registry tweaks to enable RunOnceEx for install SPECIAL Updates...
    echo.

    REG LOAD HKLM\Slipstream "%WIM%\Windows\System32\Config\Software" >nul
    SET ROE=HKLM\Slipstream\Microsoft\Windows\CurrentVersion\RunOnceEx

    REG ADD %ROE% /v TITLE /d "Installing updates..." /f >nul
    REG ADD %ROE% /v Flags /t REG_DWORD /d "00000014" /f >nul
    REG ADD %ROE% /d "%WinDir%\System32\rundll32.exe %WinDir%\System32\iernonce.dll,RunOnceExProcess" /f >nul

    cd SpecialUpdates

    set /a NUM=0
    if not exist "%WIM%\Windows\Setup\Updates" mkdir "%WIM%\Windows\Setup\Updates" >nul
    FOR %%f IN ("*.*") DO (
    set /a ROENUM=!NUM!*5
    If !ROENUM! LSS 10 (set "ROESTR=00!ROENUM!") ELSE (
    If !ROENUM! LSS 100 (set "ROESTR=0!ROENUM!") ELSE (
    set "ROESTR=!ROENUM!"))

    copy /Y "%%f" "%WIM%\Windows\Setup\Updates" >nul

    set "SWITCH=/q"
    set "NAME=%%f"
    set "FILENAMECHECK=%%f"

    if /I "!FILENAMECHECK:~-4!"==".exe" (

    if /I "!FILENAMECHECK:~0,7!"=="DirectX" (
    set "SWITCH=/Q /T:\"%WinDir%\Setup\Updates\DX\" /C:\"%WinDir%\Setup\Updates\DX\dxsetup.exe /silent\""
    set "NAME=DirectX SDK")

    if /I "!FILENAMECHECK:~0,15!"=="GamesForWindows" (
    set "NAME=Games for Windows - LIVE")

    if /I "!FILENAMECHECK:~0,11!"=="Silverlight" (
    set "NAME=Microsoft Silverlight")

    if /I "!FILENAMECHECK:~0,16!"=="windows-kb890830" (
    set "NAME=Malicious Software Removal Tool")

    if /I "!FILENAMECHECK:~0,7!"=="wlsetup" (
    set "SWITCH=/silent"
    set "NAME=Windows Live Essentials")
    )

    if /I "!FILENAMECHECK:~0,11!"=="PlayReadyPC" (
    if /I "!FILENAMECHECK:~-4!"==".msi" (
    set "SWITCH=/quiet /norestart"
    set "NAME=PlayReady PC Runtime"))

    REG ADD %ROE%\!ROESTR! /ve /d "!NAME!" /f >nul
    REG ADD %ROE%\!ROESTR! /v "!NAME!" /d "%WinDir%\Setup\Updates\%%f !SWITCH!" /f >nul
    set /a NUM+=1
    )

    REG ADD %ROE%\999 /ve /d "Cleaning up..." /f >nul
    REG ADD %ROE%\999 /v CMD /d "cmd.exe /q /c RmDir /S /Q \"%WinDir%\Setup\Updates\"" /f >nul
    echo.
    REG UNLOAD HKLM\Slipstream >nul
    cd..

  7. There were a couple reasons it wasn't working, but let's start with the following new code. The relevant portions have been tested as working here, so it should work for you as well.

    SETLOCAL EnableDelayedExpansion

    echo.
    echo Adding registry tweaks to enable RunOnceEx for install SPECIAL Updates...
    echo.

    REG LOAD HKLM\Slipstream "%WIM%\Windows\System32\Config\Software" >nul
    SET ROE=HKLM\Slipstream\Microsoft\Windows\CurrentVersion\RunOnceEx

    REG ADD %ROE% /v TITLE /d "Installing updates..." /f >nul
    REG ADD %ROE% /v Flags /t REG_DWORD /d "00000014" /f >nul
    REG ADD %ROE% /d "%WinDir%\System32\rundll32.exe %WinDir%\System32\iernonce.dll,RunOnceExProcess" /f >nul

    cd SpecialUpdates

    set /a NUM=0
    if not exist "%WIM%\Windows\Setup\Updates" mkdir "%WIM%\Windows\Setup\Updates" >nul
    FOR %%f IN ("*.*") DO (
    set /a ROENUM=!NUM!*5
    If !ROENUM! LSS 10 (set "ROESTR=00!ROENUM!") ELSE (
    If !ROENUM! LSS 100 (set "ROESTR=0!ROENUM!") ELSE (
    set "ROESTR=!ROENUM!"))

    copy /Y "%%f" "%WIM%\Windows\Setup\Updates" >nul
    REG ADD %ROE%\!ROESTR! /ve /d "%%f" /f >nul

    set "SWITCH=/q"
    set "FILENAMECHECK=%%f"
    if /I "!FILENAMECHECK:~0,7!"=="DirectX" (
    if /I "!FILENAMECHECK:~-4!"==".exe" (
    set "SWITCH=/Q /T:\"%WinDir%\Setup\Updates\DX\" /C:\"%WinDir%\Setup\Updates\DX\dxsetup.exe /silent\""))

    REG ADD %ROE%\!ROESTR! /v "%%f" /d "%WinDir%\Setup\Updates\%%f !SWITCH!" /f >nul
    set /a NUM+=1
    )

    REG ADD %ROE%\999 /ve /d "Cleaning up..." /f >nul
    REG ADD %ROE%\999 /v CMD /d "cmd.exe /q /c RmDir /S /Q \"%WinDir%\Setup\Updates\"" /f >nul
    echo.
    pause
    REG UNLOAD HKLM\Slipstream >nul
    cd..

    Now for the reasons it wasn't working:

    1. if "%%f" == "DirectX*.exe"
      • File names cannot be checked in this way. Asterisks (*) will not be interpreted as wildcards. It was necessary to translate this into a form that can be used in a CMD script. To do this a temporary variable, FILENAMECHECK, was created. Then,
      substrings of that variable were compared against the strings we're looking for; namely "DirectX" at the beginning and ".exe" at the end. An examination of the code above should show specifically how this is done.

    [*]REG ADD %ROE%\!ROESTR! /v %%f /d "%WinDir%\Setup\Updates\%%f %SWITCH%" /f >nul

    • Variables that change in a loop and are also expanded in that same loop must be local variables. That means "%SWITCH%" must become "!SWITCH!".

    By moving "set SWITCH=/q", I also simplified the script. The variable DirectX as it was used is no longer necessary.

  8. I'm still using a Logitech G9. If I were to upgrade I'd probably pick up a G9x, but I don't feel the need to jump from 2300dpi to 5700dpi. Most of the time I'm not even using the mouse at its maximum sensitivity anyway.

    You'd have to pry this mouse from my dead, desiccated hand. :)

  9. I'd have to agree with the others from the DIP switches that are visible in the fuzzy video card picture. But it's possible that the BIOS may need to be set to accept the card you have on the PCI bus, if I'm seeing the bus type correctly

×
×
  • Create New...