none
.Net FW 3.5 temp folder RRS feed

  • Question

  • The temp folder with subdirs "amd64" and "i386" left after installing dotnetfx35.exe how can you delete it automatically in a batch?

    :net10
    1.0\install.exe /q
    
    :net11
    1.1\install.exe /q
    
    :net35
    dotnetfx35.exe /lang:ENU /q /norestart
    
    :net40
    dotNetFx40_Full_x86_x64.exe /lcid 1033 /q /norestart
    
    :net45
    dotnetfx45_full_x86_x64.exe /lcid 1033 /q /norestart
    
    :status
    echo off
    cd /d %windir%\Microsoft.NET\Framework
    title .NET Framework Check
    
    :set
    set a=Not installed
    set a1=Not installed
    set b=Not installed
    set c=Not installed
    set c1=Not installed
    set d=Not installed
    set d1=Not installed
    
    :check
    if exist v1.0* 	set a=Installed
    if exist v1.1* 	set a1=Installed
    if exist v2.0* 	set b=Installed
    if exist v3.0*	set c=Installed
    if exist v3.5*	set c1=Installed
    if exist v4.0*	set d=Installed
    if exist v4.5*	set d1=Installed
    
    :show
    
    echo .NET Framework v1.0: %a%
    echo .NET Framework v1.1: %a1%
    echo .NET Framework v2.0: %b%
    echo .NET Framework v3.0: %c%
    echo .NET Framework v3.5: %c1%
    echo .NET Framework v4.0: %d%
    echo .NET Framework v4.5: %d1%
    
    pause
    
    EXIT


    Thursday, October 25, 2012 3:22 PM

Answers