if you use a redirector, you have to specify comspec...

shell '%comspec% /c netsh dhcp server \\windows dump > c:\dump.dmp'
_________________________
How to ask questions the smart way <-----------> Before you ask