Satan must not have read the Book of Job.
Whether he did or didn't doesn't really matter. I guess another way to look at it is that maybe he KNOWS he's destined to lose, so all he can really do at this point is to cause whatever havoc he can, and take as many of God's children with him as he can...
Not until after is happened. He couldn't look ahead.