Merging files

when i merge excel files from download using environment.current directory, pdf files also read…pls tell me why this happen?
merge

use Directory.GetFiles(“ABC” , “ .xlsx ”)
this will give you a list of file path from the “ABC” folder with extension “.xlsx”
so replace “ABC” with environment.current

Hope it helps :slight_smile:
Thank you,
Saurabh

can i use xlsx extension with environment.current directory??

try this
image

yup…i tried this from this the process is working