Find 2 types of file without repeating the full directory path

If you are experiencing problems with "Everything", post here for assistance.
samz
Posts: 7
Joined: Sat Jul 29, 2023 9:38 am

Find 2 types of file without repeating the full directory path

Post by samz »

Hello,

Is there a way to search for 2 types of files (.kt and .xml) in a directory, without repeating the full directory path: C:\Users\sam\AndroidStudioProjects\JetNote-master\

Code: Select all

C:\Users\sam\AndroidStudioProjects\JetNote-master\*.kt|C:\Users\sam\AndroidStudioProjects\JetNote-master\*.xml
Regards,
Sam
You do not have the required permissions to view the files attached to this post.
void
Developer
Posts: 19903
Joined: Fri Oct 16, 2009 11:31 pm

Re: Find 2 types of file without repeating the full directory path

Post by void »

C:\Users\sam\AndroidStudioProjects\JetNote-master\ *.kt|*.xml

-or-

C:\Users\sam\AndroidStudioProjects\JetNote-master\ ext:kt;xml
samz
Posts: 7
Joined: Sat Jul 29, 2023 9:38 am

Re: Find 2 types of file without repeating the full directory path

Post by samz »

Problem solved. Thank you and happy coding :)