But normally if the foldername is ok and there are files with this folder, you should get the files. please give me also more details about the exception which you got
awesome video bro! justa a doubt. If we already have defined variable as fileinfo when using assign activity, why are we using cst(of fileinfo) in value section then?
Sure Shiva. In the new videos about LINQ I am using Method syntax also! But for the current video if you want to know how is a specific query will be written in method syntax, please let me know and I will write it for you here in the comments!
Hi Shiva, Here is the same query in method syntax: New DirectoryInfo("C:\Temp").GetFiles("*.*").OrderByDescending(Function(x) x.LastWriteTime).ElementAt(0)
Hi Krupa, It depends how many files you want to get. For that you can use Take operator instead of ElementAt(0). For example this query: ( From x In New DirectoryInfo("C:\Temp").GetFiles("*.*").Cast(Of FileInfo) Order By x.LastWriteTime Descending Select x ).Take(3).ToArray This query returns the newest 3 files. Here you have to use a variable of type (Array of FileInfo: FileInfo[]) to store the output. So you can use Take, Skip, TakeWhile, SkipWhile to get the files you need. It depends on your need. To learn more about these operators you can also check the videos on my channel about each one. If you still have questions, please don't hesitate to write us back 🙂
Hi I have seen the videos at other channels , they write LINQ in single strait line but I found your 6 step writing is quite more easy to understand. can you make a video where you can show how to convert strait line query in your format and yours in strait line.
Hi Suraj, what do you want to learn exactly? Only executing Macro with some input parameters or do you need something more? Please let me know everything you need and we will create the video asap!
@@suraj_singh321 Ok we will do it. In 2 weeks you can watch the video about Macros in UiPath! If you still have any specific points about this topic, please don't hesitate to write us!☺
The greatest 🔥
Thanks Fwzia 💙
GREAT VIDEO
Thanks Luis, happy to hear that :-)
Nice video. Thank you.
Thanks Jani :)
nice
Thanks :)
Hi. I want to get all filenames from a folder using linq. I'm getting error while doing the same
Can you please let me know, which query did you use?
And please also the folder name.
So I can help you better!
But normally if the foldername is ok and there are files with this folder, you should get the files.
please give me also more details about the exception which you got
awesome video bro! justa a doubt. If we already have defined variable as fileinfo when using assign activity, why are we using cst(of fileinfo) in value section then?
Hi, Please show in method syntax also so that it helps in writing queries in easier manner
Sure Shiva. In the new videos about LINQ I am using Method syntax also!
But for the current video if you want to know how is a specific query will be written in method syntax, please let me know and I will write it for you here in the comments!
Hi Shiva,
Here is the same query in method syntax:
New DirectoryInfo("C:\Temp").GetFiles("*.*").OrderByDescending(Function(x) x.LastWriteTime).ElementAt(0)
How to get a multiple last modified files
Hi Krupa,
It depends how many files you want to get. For that you can use Take operator instead of ElementAt(0).
For example this query:
(
From x In New DirectoryInfo("C:\Temp").GetFiles("*.*").Cast(Of FileInfo)
Order By x.LastWriteTime Descending
Select x
).Take(3).ToArray
This query returns the newest 3 files. Here you have to use a variable of type (Array of FileInfo: FileInfo[]) to store the output.
So you can use Take, Skip, TakeWhile, SkipWhile to get the files you need. It depends on your need.
To learn more about these operators you can also check the videos on my channel about each one.
If you still have questions, please don't hesitate to write us back 🙂
Hi I have seen the videos at other channels , they write LINQ in single strait line but I found your 6 step writing is quite more easy to understand. can you make a video where you can show how to convert strait line query in your format and yours in strait line.
Sure Suraj. It's already on my ToDo list 😉
@@ActAutomate wow thats amazing .we are waiting...👍
Hi Uipath Mahmoud Uipath RPA make a video on Macro Tutorial Excel in UI Path
How to pass variable to macro and many more
Hi Suraj,
what do you want to learn exactly?
Only executing Macro with some input parameters or do you need something more?
Please let me know everything you need and we will create the video asap!
@@ActAutomate more sir Full Tutorial In macro Excel using uipath
@@suraj_singh321 Ok we will do it. In 2 weeks you can watch the video about Macros in UiPath!
If you still have any specific points about this topic, please don't hesitate to write us!☺
@@ActAutomate yes sir for sure Thank you 🔥
@@suraj_singh321 You're welcome 🔥