CreateDirectory
Creates all directories and subdirectories in the specified path unless they already exist. Will not do anything if the directory exists.
Last updated
Was this helpful?
Creates all directories and subdirectories in the specified path unless they already exist. Will not do anything if the directory exists.
Task version: 1.1.0
Required Frends version: 5.5+
Required .NET version: 6.0
Compatible Agents: Crossplatform
Directory : String
Directory path.
Default: "c:\temp"
Example: C:\Temp
UseGivenUserCredentialsForRemoteConnections : Boolean
If set, allows you to give the user credentials to use to create directories on remote hosts.
If not set, the agent service user credentials will be used.
Note: For creating directories on the local machine, the agent service user credentials will always be used, even if this option is set.
Default: -
Example: true
UserName : String
This needs to be of format domain\username
Default: "domain\username"
Example: Domain\Username
🗝Password : String
Password of user
Default: -
Example: Password123
Path : String
Path of directory
Example: C:/User/NewDirectory
Changelog for Task Frends.Files.CreateDirectory.
Update packages: Newtonsoft.Json 12.0.1 -> 13.0.3 System.ComponentModel.Annotations 4.7.0 -> 5.0.0 System.Runtime.Caching 7.0.0 -> 9.0.3 coverlet.collector 3.1.0 -> 6.0.4 Microsoft.NET.Test.Sdk 16.7.0 -> 17.13.0 MSTest.TestAdapter 2.1.2 -> 3.8.3 MSTest.TestFramework 2.1.2 -> 3.8.3 nunit 3.12.0 -> 4.3.2 NUnit3TestAdapter 3.17.0 -> 5.0.0 RichardSzalay.MockHttp 6.0.0 -> 7.0.0 xunit.extensibility.core 2.4.2 -> 2.9.3
Initial implementation of Frends.Files.CreateDirectory.
Last updated
Was this helpful?
Was this helpful?

