[DllImport("shlwapi.dll", CharSet = CharSet.Unicode)] public static extern void PathCleanupSpec( string pszDir, string pszSpec );
Microsoft documentation: Link
Last updated 1 year ago