SQL Eval Function Directory_Delete

Directory_Delete deletes an empty directory from a specified path.

Directory_Delete @path NVARCHAR (MAX)

Parameters

  • path: The directory to delete.

Example

EXEC Directory_Delete @path = 'C:\Temp1'

Contents