i have a file in cwd, i don't know it's name.. the only thing that i know it will be .mp4 extension.. how can i do that?
Loading
i have a file in cwd, i don't know it's name.. the only thing that i know it will be .mp4 extension.. how can i do that?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
HrashaPosted Jun 19, 2021, 2:39 PM
Anant VernekarPosted Jun 19, 2021, 1:56 PM
HrashaPosted Jun 19, 2021, 9:52 AM
Rajanikant HawaldarPosted Jun 19, 2021, 9:50 AM
HrashaPosted Jun 19, 2021, 9:48 AM
Rajanikant HawaldarPosted Jun 19, 2021, 9:46 AM
HrashaPosted Jun 19, 2021, 9:42 AM
Rajanikant HawaldarPosted Jun 19, 2021, 9:29 AM
Anant VernekarPosted Jun 18, 2021, 2:49 PM
Use like this...
string[] filePaths = Directory.GetFiles(@"your Current working directory path", "*.mp4")
This will work for you...
You will find all the file path located in CWD with extension .mp4