Delete report folder 


Syntax 

Publish -drf -r ReportFolderPath [-n UserOrGroupName] [-msg LanguageCode


Example 

publish -drf -r Folder5/Folder6/Folder7 -n dev -msg deu 

  • Deletes Folder7 

 

Command reference

Name 

Required 

Notes 

publish 

Yes 

The name of the executable. It is located in the \bin directory of a WDS site. For example, the following is a typical location: 

\WDS 8.2\wds82_1\bin\Publish.exe 

-drf 

Yes 

Deletes a report folder. 

-r ReportFolderPath 

No 

The path to the folder that is to be deleted. 

For example, -r folder1/folder2 

-n UserOrGroupName 

No 

Specifies the name of the user or group which owns the deleted report folder. 

If this option is not present, the owner of the report folder will be administrator. (This is also the case if "administrator" is specified for UserOrGroupName.) 

-msg LanguageCode 

No 

Specifies the language in which publishing messages will appear. 

For example, -msg fra specifies that feedback messages in the command prompt window, such as "Report successfully added" or "Path not found," will appear in French. 

If not present, messages appear in the language that is specified in the operating system's "Regional and language options." (If no valid language information is found, defaults to English.) 

Note that errors which occur while parsing a command will appear in English. This is because at that time in the publishing process, the language resource files have not yet been initialized. 

 

See also:

Publishing from the command line