As @tedg and @opie pointed out, you can't do everything with Command Aliases.
For things such as ZW (for Zoom Window), you'll need to use some autolisp.
@tedg gave you a good example.
So what do you do with this stuff?
Create a new text file using NOTEPAD.
Paste in the code that @tedg provided.
Here are some more examples:
Code:
(defun c:fr ()(princ "Macro: Fillet Radius")(vl-cmdf "._fillet" "_r")(princ))
(defun c:ld ()(princ "Macro: Lengthen Dynamic ")(vl-cmdf "._lengthen" "_dy")(princ))
(defun c:zv ()(princ "Macro: Zoom Vmax ")(vl-cmdf ".zoom" "_v")(princ))
(defun c:zw ()(princ "Macro: Zoom Window ")(vl-cmdf ".zoom" "_w")(princ))
When you are done, save this file with the name "acaddoc.lsp" (put quotes around the name when you are saving -OR- you will get "acaddoc.lsp.txt", which WILL NOT WORK)
Now create a new folder called C:\CADSTUFF (that is a suggestion, the name is not important).
Place this new file named "acaddoc.lsp" and put it in that new folder.
Open AutoCAD, run the OPTIONS command, go to the FILES tab, and add C:\CADSTUFF to the Support File Search Path _and_ move it to the TOP of the list of paths.
Close AutoCAD and reopen it.
Your shortcuts should now work..