Questions tagged [file-search]

This tag can refer to the process of searching a system for a specific file or the process of searching the contents of a file for specific keywords.

This tag can refer to

  1. The process of searching a system for a specific file.

  2. The process of searching the contents of a file for specific keywords.

189 questions
0
votes
1 answer

Search by File names in visual studio 2013

I want to search for file names ending with 'E' and having file extension as .h in visual studio 2013. I know there is ctrl+shift+F dialog but it doesn't search for file names. Similarly ctrl+, dumps everything even file contents. I just want to…
Dhruv Jagetiya
  • 1,043
  • 12
  • 19
0
votes
2 answers

Python Kivy: Search directory for filetype

There are many ways, to search a dir for containing a string, that's not really my question. But is there something built in for Python Kivy, that allows automatically searching for files (*.mp3) in a directory with subdirs, or do I have to create…
d0n.key
  • 1,318
  • 2
  • 18
  • 39
0
votes
1 answer

Search for a folder only for a certain level (3 sub directories only)

Currently I am searching for a '.svn' folder inside a path using the below code : require 'find' svn_folders = [] @folder_path = 'C:\my_repositories\' Find.find(@folder_path) do |path| svn_folders << path if path =~ /.*\.svn$/ end The above code…
Supersonic
  • 430
  • 1
  • 11
  • 35
0
votes
1 answer

Get all path of certain file extensions in windows 8 store / metro application

THE PROBLEM I want to get all the path of the files with "custom made" file extension (.pssm and .pnsm) from a folder, and to every of its subfolders (Deep Search) IN A WINDOWS 8 STORE (TABLET) APP. THE STEPS Pick a parent folder with a…
Moses Aprico
  • 1,951
  • 5
  • 30
  • 53
0
votes
1 answer

Using Scanner to display entire line if the line contains any part of a string match (Java)

so I am working on this a project that analyzes hex dumps for specific file signatures. The problem I am having is when trying to analyze dumps that are large in size 16+ GB, I get a OutOfMemoryError: Java heap space error. So my thought is to…
0
votes
1 answer

XQuery - search files collection and return attribute or element without children

I'd like to get a list of attributes by a certain name, from a large number of XML-files in a certain folder. With guidance from this question: XPath Function to query across 50 XML Files?), I'm trying to use XQuery for my file query as well, and…
Andreas Jansson
  • 830
  • 1
  • 9
  • 21
0
votes
3 answers

Printing the line in a text file that contains a string

I'm trying to get the line of a text file that contains a certain string and printing the 3rd number or string in the line. The text file looks like: 1997 180 60 bob 1997 145 59 dan If the input text contains bob, my code should print 60. Here's…
0
votes
1 answer

Filter results in JTree based on input from JTextField

Here is the run down on my program Lists all folders, subfolders, and files of X extension from a specified directory. You can view, edit, copy, etc the contents of the files. Each file has a .dat file associated with it that contains information…
Polycoding
  • 25
  • 8
0
votes
2 answers

Find a specific file in a detected USB from Java

I am using Java codes to find a file that ends with a certain extension in a detected removable storage. I am trying to link the two codes together but I am not sure on how I can do so. These are the codes I am using: DetectDrive.java import…
user3847620
  • 59
  • 4
  • 9
0
votes
5 answers

Research a string with a variable number in python

I have a text file which contains several lines in the following format: ELEMENT= 1 PLY= 1 ----------------------- Code 1425 GP= 1 4.324E-03 -1.350E-03 -2.974E-03 3.084E-04 0.000E+00 0.000E+00 …
0
votes
1 answer

Java GUI Reading a file with the mentioned path

JButton btnStart = new JButton("Start"); btnStart.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { try{ String filename = …
user3663202
  • 11
  • 1
  • 3
0
votes
1 answer

File Search for a specific file in entire sdcard in android

I need to search for a specific file in sdcard in android and print the resulted file's absolute path. But when i am running i am getting an error "The application Filecare(process com.example.filecare) has stopped unexpectedly. Please try again."…
vijay
  • 11
  • 1
  • 5
0
votes
2 answers

File search for user entered phrase

Hello. I am trying to do a search for a keyword in a file, but my output that is just coming up is "Processing file". It won't say that it's actually finding the keyword in a file. As can be seen, I have used a preset keyword of forensics and i have…
0
votes
1 answer

File Server Indexing Service for Mac OS Search

Has anyone a solution for getting the MAC spotlight search facility to work with a remote file server (turnkey pdc, Debian) connecting by SMB. I am at a loss. Regards
0
votes
2 answers

String.Contains gives wrong values

I'm trying to create an application that searches through files, much like WindowsXP has. I'm using 4 threads that search through the specified directories and open every file to search for a string. This is done by calling a static method from a…
Anthony Dekimpe
  • 357
  • 2
  • 14