How to Pass Drive name or folder name in input dialog activity and check the size of it?

How to Pass Drive name or folder name in input dialog activity and check the size of it?

Please let me know if is not C drive and we need to make it Generic and pass the input value manually

try to pass Drive Name by using a variable

Hi @kavyachenna,

Create a variable which will contain the value of drive and pass it as below.

drive_info = new DriveInfo(strDriveName)

Regards,
Rahamat

1 Like

Hi there @kavyachenna,
The below example may provide what you need:
Generic-Check File Size.xaml (7.9 KB)

Please let me know if you have any further queries.

Thanks,
Josh

3 Likes

Thank you… Its working

Hi there @kavyachenna,
That’s fantastic!

If you have found an appropriate solution, can you please mark the relevant post :slight_smile:

Thanks,
Josh