Windows Server logo

Delete files recursively with ForFiles in Windows Server

The Forfiles command on Windows selects and executes a command on a file or set of files. Forfiles is ideal for batch processing through scripts, for instance on Windows Server systems. With Forfiles, you can run a command on or pass arguments to multiple files. For example, you could run the type or del command on all files in a tree with the .txt extension.

Read MoreDelete files recursively with ForFiles in Windows Server
[HttpException (0x80004005): The length of the URL for this request exceeds the configured maxUrlLength value.]

“The length of the URL for this request exceeds the configured maxUrlLength value”

The length of the URL for this request exceeds the configured maxUrlLength value is an IIS error telling you the length of the given URL exceeds a limit. The Windows Server IIS maximum URL length is defined by the HttpRuntimeSection.MaxUrlLength property. Its value is 260 characters. This may cause problems with longer URLs, and here is how to resolve this maxUrlLength issue.

Read More“The length of the URL for this request exceeds the configured maxUrlLength value”