none
Edit Reg key and create a folder RRS feed

  • Question

  • Hi I need a script to do the following for me 

    Step 1. Determine if OS is 32bit or 64bit

    If 64 bit below steps need to happen

                -create folder on users c drive called SAPWorkDir

                - create the below registry entry

                Create a REG_EXPAND_SZ value called “SAPWorkDir” and set the data for this value to “C:\SAPWorkDir”

    If 32 bit below steps need to happen

    -create folder on users c drive called SAPWorkDir

                - create the below registry entry        

    “HKEY_LOCAL_MACHINE\Software\SAP\SAP Shared”

    Create a REG_EXPAND_SZ value called “SAPWorkDir” and set the data for this value to “C:\SAPWorkDir”

    • Moved by jrv Tuesday, February 4, 2020 10:38 AM Not a scripting question
    Tuesday, February 4, 2020 10:23 AM

All replies