filmov
tv
UiPath | Map Net Drive | How to map a dirve in UiPath | VB.Net Code | Map Drive with Credentials

Показать описание
#rpa #uipath #environmentmanipulation
👉 𝐄𝐧𝐠𝐥𝐢𝐬𝐡
● This video is about mapping a drive with a VB.Net code.
👉 𝐆𝐞𝐫𝐦𝐚𝐧
● In diesem Video geht es darum, ein Laufwerk mit einem VB.Net Code zu mappen.
📝 𝐏𝐫𝐨𝐜𝐞𝐝𝐮𝐫𝐞
➊ Add Invoke Code activity
➋ Create Arguments: User, Password, DriveLetter, DrivePath,cmd_string
➌ Set the default values for these arguments
➍ Write the code
➎ Create a variable: driveExists to check if the directory exists
➏ Add Assign activity and set: driveExists = Directory.Exists(driveLetter)
➐ Add If activity and set the condition: driveExists
➑ Add WriteLine activity in "Then" and write in it: Correct
➒ Add WriteLine activity in "Else" and write in it: Wrong
➓ Run the code to see the result in the console.
✍ 𝗞𝗲𝘆 𝗪𝗼𝗿𝗱𝘀
→ UiPath
→ UiPath Automation
→ UiPath Activity
→ Map Net Drive
→ Map FileShare
→ Map Drive
→ Laufwerk Mapping
→ Mapping with VB.Net Code
→ Environment Manipulation
→ Mapping
→ VB.Net Code
→ Check Directory Exists
👉 𝐄𝐧𝐠𝐥𝐢𝐬𝐡
● This video is about mapping a drive with a VB.Net code.
👉 𝐆𝐞𝐫𝐦𝐚𝐧
● In diesem Video geht es darum, ein Laufwerk mit einem VB.Net Code zu mappen.
📝 𝐏𝐫𝐨𝐜𝐞𝐝𝐮𝐫𝐞
➊ Add Invoke Code activity
➋ Create Arguments: User, Password, DriveLetter, DrivePath,cmd_string
➌ Set the default values for these arguments
➍ Write the code
➎ Create a variable: driveExists to check if the directory exists
➏ Add Assign activity and set: driveExists = Directory.Exists(driveLetter)
➐ Add If activity and set the condition: driveExists
➑ Add WriteLine activity in "Then" and write in it: Correct
➒ Add WriteLine activity in "Else" and write in it: Wrong
➓ Run the code to see the result in the console.
✍ 𝗞𝗲𝘆 𝗪𝗼𝗿𝗱𝘀
→ UiPath
→ UiPath Automation
→ UiPath Activity
→ Map Net Drive
→ Map FileShare
→ Map Drive
→ Laufwerk Mapping
→ Mapping with VB.Net Code
→ Environment Manipulation
→ Mapping
→ VB.Net Code
→ Check Directory Exists