I am trying to get the size of all specific folders in the Remote desktop server and i need to send a mail to a team about that these folders were occupying more space.
Steps already done:
Connecting to the Remote desktop from the local desktop using Hot key activity like Win+r.
Then now i am facing issue like how can i get size of files from the Folders in RDP.
if it is in local where uipath installed i can easily use assign and for each activities to iterate files and get the size. Here in Remote server how can i do it ???
@AshwinS2
Thanks and my use case is little different.
I need to get the size of folder from the Remote desktop server So tell me how can i access a files in the remote desktop please.
See i will try to explain i don’t have UiPath installed in my rdp okay!
It was installed in my local desktop only. So i am automating the connection to the RDP itself using hotkey activities like Win+r.
** **
So my total main workflow is going to execute in the RDP only.
So here i have to get all the folders okay?using directory.getfiles(“path”)
Say path of the folder is looks like \C:\MyFolders\CheckFolders.
if i give this path in the UiPath (which installed in local desktop) it was popping out with an error like “There is no valid path”. I guess that it will find the path in the local desktop only right! instead of RDP.
So will you tell me how can i access all the files. i tried by giving
“\walter-pc\c:\MyFolders\CheckFolders”.
It is also not working.
Not with IP we are using like name “Walter-pc” .
Please advise @HareeshMR buddy,
it was eating my head.