cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ishaq40
Regular Visitor

Getting File path part full list

Hi,

 

I am traying to get the files name from folder, so I made the fallowing

 

Ishaq40_0-1630937441336.png

at Action 6 I get the files in folder, but I do not know how to get file name for full list at action 7

 

Ishaq40_1-1630937552862.png

after ththis I need the the list of files name to be posted at an Excel file.

 

can this be done? or is thier better way to do it?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
MichaelAnnis
Super User
Super User

For each %CurrentItem% in Files

    Write %CurrentItem.Name% to Excel

End

 

The datatype property for getting just the file name is .Name.

 

Best of Luck!

 

 

View solution in original post

1 REPLY 1
MichaelAnnis
Super User
Super User

For each %CurrentItem% in Files

    Write %CurrentItem.Name% to Excel

End

 

The datatype property for getting just the file name is .Name.

 

Best of Luck!

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Top Solution Authors
Top Kudoed Authors
Users online (3,047)