A few points that you may find helpful.NT does not run DOS. Do not confuse the Command Prompt in NT with the DOS Prompt in Windows 95. They are not the same. As I said, NT can not run DOS but it does contain some DOS like batch commands. Some work just like DOS but some don't. To see a list of the NT batch commands plus the syntax open this file:
c:\winnt\ntcmds.hlp
You might consider acquiring the NT Resource Kit. It greatly expands the set of batch commands, including helpful commands for copying & deleting directories.
To run an NT command, DOS bat file, com file, or exe file in kixtart you could use RUN or Shell but most of the time Shell is preferable.
I always use quotes around the input parameters for the shell command.
Pierre is suggesting you create a bat file (say in your netlogon share) containing these lines:
Deltest.bat
ECHO Y | DEL /F /S "dir to delete"
RD /S /Q "dir to delete" ; this delete the subdir
RD /S /Q "dir to delete" ; this delete the "root"dir
Then DON suggests in your kixtart script you include the line
SHELL "\\server\NETLOGON\deltest.bat"
To test this script you should input the lines from deltest.bat one at a time into the command prompt box. Keep testing until you get the syntax correct. Once you have it correct put the line in your bat file.