For windowed mode you just put -w you can't specify a resolution

um yesh you can Squinge:
WINDOWED MODE
-------------
To run The Sims 2 in windowed mode, first create a shortcut to the game by right-clicking on Sims2.exe and selecting "Create Shortcut." Then right-click the shortcut, and select properties. At the end of the "target" line, add a space and the text "-w" (without quotes). Click OK, then launch the game by double-clicking on the shortcut. Running the game in a window will allow you to more easily switch between different programs, but please note that running other programs at the same time as The Sims 2 will be detrimental to the game's performance. Also note that edge scrolling does not function in windowed mode. If you experience any graphical anomalies, please make sure your desktop is set to 32-bit color.
Other command line options:
-w windowed mode
-f fullscreen mode
-nosound run with no sound
-r800x600 run at 800 x 600 resolution
-r(w)x(h) run at (w) x (h) resolution