Jump to content

If Not @ComputerName = $NewComputerName Then

Recommended Posts

Either I'm stupid or I've found a bug:

$NewComputerName = @ComputerName & 'xx'
MsgBox(4096, @ComputerName, $NewComputerName)
If Not @ComputerName = $NewComputerName Then
    MsgBox(4096, 'DING', '')
    Exit (0)

In my theory, @ComputerName and $NewComputerName are never the same because of the first line. So I should get two message boxes... but no matter what I only get the first one?

Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...