@pullstackautocad - if you don't want to use the code in message #2 above, then here's a Script (RightClickDwgWblock.scr):
(setvar 'ctab "Model")
(command "._-layer" "_u" "*" "")
(setq dwg (strcat (getvar 'dwgprefix) (getvar 'dwgname)))
(setq dwg (strcat (substr dwg 1 (- (strlen dwg) 4)) "_test.dwg"))
(setq overwrite (if (findfile dwg) T))
(if overwrite (command "._-wblock" dwg "_y" "" "_o" "_r" "0,0" "_all" "") (command "._-wblock" dwg "" "_o" "_r" "0,0" "_all" ""))
And here's a Windows Shell (aka right click) Menu for File Explorer, so you can simply pick one or more drawings and WBLOCK them at the same time:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\2026RightClickDwgWblock]
@="2026 DWG WBLOCK"
"AppliesTo"=".dwg"
; "Icon"="C:\\Program Files\\Autodesk\\AutoCAD 2026\\accoreconsole.exe"
"HasLUAShield"=""
"Position"="Bottom"
[HKEY_CLASSES_ROOT\*\shell\2026RightClickDwgWblock\command]
@="\"C:\\Program Files\\Autodesk\\AutoCAD 2026\\accoreconsole.exe\" /i \"%1\" /ld \"C:\\Program Files\\Autodesk\\AutoCAD 2026\\AecBase.dbx\" /p \"YourProfileNameHere\" /product \"C3D\" /language \"en-US\" /s \"C:\\YourFilePathHere\\RightClickDwgWblock.scr\""
I work in Civil 3D, so change the command's target to match your desktop icon... or just use this Script with the code in message #2 above.
HTH