I think scruge has the correct syntax, but a word of caution. Make sure the new directory is not created BEFORE the deltree command. Do not allow the batch file to recurse, and build in some error checking so that the new directory will not be accidentally deleted. Also, make sure you do not have other directories with similar names - beginning with C:\cisg_proc_