Hi. I am very new to UiPath. I am trying to solve a problem and I am halfway there. In directory “C:\Users\krda\OneDrive - Modum kommune\Faggruppe VA\Rørinspeksjoner\UiPath test” I have two subfolders. Inside these subfolders there are some pdf files and some mp4 files. I want to create folders for every mp4 file inside each subfolder. The name of these created folders need to be the same as mp4 filename. Also inside these two subfolders I need to create an Excel workbook. This workbook wil be the same for each subfolder.
Hi, sorry for late reply. Weekend happened I tried your solution @juan.porras1. In the "create folder step I get the error message “Create Folder: Value cannot be null. (Parameter ‘path1’)”. The code for folder name is “Path.Combine(folderPath, Split(CurrentFile.Name, “.”)(0))”. As I said I used this code from an post in these forums. This was copy paste, and I dont fully understand what that code actually does.
That’s because folderPath is probably empty. Inside your “Create Folder” activity you can write: CurrentFile.FullName.Split(“.”)(0). Then change the move file parameters as the image.