Looks right I just tested with
Code:
xpak.exe -mkdir patch_0.pak
xpak.exe patch_0.pak
and it worked for me.

Curious if for some reason yours isn't reading second line do you have any tabs or spaces etc after the -mkdir line? I guess you could always try it with just the
xpak.exe patch_0.pak line now you already have the file structure?