Diablo 2 Lord of Destruction

I need some help on how to get Diablo 2 LOD to run in windowed mode. I’ve tried right clicking on the shortcut, going to properties, shortcut tab and putting -w at the end of the target in target window, but every time I do it says that there’s a problem with the shortcut, am I doing it wrong or is there another way to get it to work? I tried going to the install location but there’s no way for me to do that on the actual install file for the game.

Diablo2 Support is under the Classic Games category here:

https://us.forums.blizzard.com/en/blizzard/