Jump to content

Search the Community

Showing results for tags 'ccmsetup'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. I have gone through the help file and tried everything it shows samples on for my script except I can't get it to del a folder and its contents. I've tried DirRemove and FileDelete and nothing. Here is my code and I was wondering if I could get another eye on this. The goal of this script is to uninstall CCMSetup from Servers (Win 2003 and 2008r2) then I want to remove the CCMSetup folder and its files and this is where is fails. I've been concentrating on Win2k3 first then I'll move over to Win2k8r2. Thanks #RequireAdmin ; Get the OS version number without an API call. Local $sFldr1 = "C:\Windows\System32\ccmsetup\" ;Local $sFldr2 = "" Func _OSVersion() Return RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\", "CurrentVersion") EndFunc ;==>_OSVersion If @OSVersion = "WIN_2003" Then RunWait(@WindowsDir & "\System32\CCMSetup\CCMSetup.exe /uninstall") Sleep(3000) DirRemove($sFldr1, 1) EndIf If @OSVersion = "WIN_2008R2" Then MsgBox(0, "@OSVersion()", "BatMan") EndIf ;==> End If
×
×
  • Create New...