How to get resources folder in JDeveloper – SOA

When you are working with configuration files, POM file, you can see these files appear in ‘Resources’ folder. But sometimes though the files present in file directory they won’t show up in the JDeveloper. To get those appear in Jdev follow below given instructions.

Right click on Project -> Project Properties -> Project Source Paths -> Resources -> click on Add -> select the project -> Ok

After adding you can see Resources folder appear in Jdev as shown below.

Find number of lines in a file using windows batch script

Using below given command you can get the count of lines in a given file.

When working with large files having file size in MBs (line count in lakhs), we can’t open in notepad. So in those cases the below command will be useful.

find /v /c “” FileName

test.txt file

Command Result: when executed it has printed number of lines as 11.