Jump to content
Sign in to follow this  

Problems with progresslist

Recommended Posts

I code a simple function to delete all progress "cmd.exe". I run it in Win 10 and win server 2008 rc2 activated, it run good, delete all cmd.exe. When I run it in a VPS Win server 2008 rc2 active 180 days, it just delete 1 of them. Plz help me.

Func DelCmd()
    If ProcessExists("cmd.exe") Then
        $icmd = ProcessList("cmd.exe")
        For $i = 1 To $icmd[0][0]
        MsgBox($MB_SYSTEMMODAL, "", "There is no CMD is exist!")

Maybe in VPS, if win is not active, script can not run correct? Who can explain for me? Thank everyone for help!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...