new FileInfo(“c:\testfolder\”,“*.xlsx”).CreationTime.ToString(“yyyy/MM/dd”)
I get error:
Main.xaml: Compiler error(s) encountered processing expression “new FileInfo(“c:\testfolder\”,”*.xlsx”).CreationTime.ToString(“yyyy/MM/dd”)".
Overload resolution failed because no accessible ‘New’ accepts this number of arguments.
for each item in Directory.GetFiles(Destination_folder_path)
FileName = New FileInfo(item)
message box FileName.Name
message box Filedetails.LastModifiedDate
variables Filedetails and FileName are of type FileInfo (Browse for type System.IO.FileInfo in variables panel)
note that, FileName.Name and Filedetails.LastModifiedDate(i.e. var_name.Name, var_details.LastModifiedDate) and not .ToString
Hello,
Maybe I should stress that I’m really a newbie. I will look into your suggestion. Maybe it’s good to know that the path only contain one xlsx-file at a time but with different names.
Sure hoped there were a solution to using wildcard like in my first post.