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

How to show directory in ongoing search process

I want to add a textbox to a program which lists files in given path. It will show current searching directory on a panel. even if I added textvox1.Text = dir like this, It only shows last directory at the end of the search. Can you tell me why it…
emmett
  • 193
  • 2
  • 14
0
votes
2 answers

Retrieve Number of Files with the name having same extension

I have a folder User inside that i have so many files with same extension. I want to find all the user file name with a query that is filter. In the following code how can i retrieve all the files which are equals to the query filter. public…
0
votes
1 answer

Python Folder Name

I have a directory in my computer which is having a numeral as the folder name.. For Example, the directory that exist is C:\3_Software I am trying to provide the top level directory path.. I want to look into folders, subfolders and files from…
Matt
  • 179
  • 1
  • 3
  • 14
0
votes
1 answer

$varName not found in NetBeans but varName gets found

I'm having a bit of an idiot problem with NetBeans since some time. i open a file which has a variable named $dayFrom i select the variable and press ctrl + F and fet the search box shown. Now here comes the idiot part... it does not find the…
Sangoku
  • 1,588
  • 2
  • 21
  • 50
0
votes
1 answer

SQL Server 2005 text cataloging for a root directory of email files?

I'm looking for a solution to search email files for a custom made email suite (similar to a call center but for emails instead of calls) for the company I work for. The problem I'm running into is when I want to perform an email search (body text),…
0
votes
2 answers

Is there any way I can significantly improve the efficiency of this file search?

This method uses recursion to find a file with a certain string in its name. It's searching on a network drive and sometimes has to search through hundreds or even thousands of directories before it can find what it's looking for. It's rather…
ericjv
  • 31
  • 1
  • 3
0
votes
1 answer

ActionScript: Searching for Images in a folder

I have a component in mxml that takes a string as input and has to search for images using that string in the current folder and display the images in a HorizontalList. Any easy way I can do this? I tried appending the strings and looking through…
0
votes
2 answers

Fastest way to search and remove/add line from/to file

I'm wondering what the fastest way is to remove a specific line from a potentially large file, if it exists. So for example I want the following line abc to be removed from the file yxz srtabc abc efg becoming yxz srtabc efg Also, I want to add a…
rawr
  • 113
  • 1
  • 1
  • 4
0
votes
0 answers

File search and Open word document algorithm

using code from a tutorial and making various modifications i have got working code for a recursive procedure which searches for a file with a file name which has been entered by the user at a given path and through sub folders when the parameters…
Jeowkes
  • 501
  • 7
  • 20
-1
votes
2 answers

How to search and read a text file in a specific folder faster using python

I've written a simple python script to search for a log file in a folder (which has approx. 4 million files) and read the file. Currently, the average time taken for the entire operation is 20 seconds. I was wondering if there is a way to get the…
-1
votes
1 answer

How to apply multithreading in java to find a word in a directory(main directory and the word given) and recursively its subdirectories

I am quite new on Stack Overflow and a beginner in Java so please forgive me if I have asked this question in an improper way. PROBLEM I have an assignment which tells me to make use of multi-threading to search files for a given word, which might…
-1
votes
3 answers

Unable to open txt file in python

Whenever I try to access .txt file using python, I get an error: Traceback (most recent call last): File "C:/Users/monty/AppData/Local/Programs/Python/Python38-32/tess.py", line 1, in f1=open("d:\test.txt") OSError: [Errno 22] Invalid…
-1
votes
2 answers

No matching overload function found Error

I am trying to return a vector with template T with data from a file to be searched through in another function. The program I am working on is a program that stores the name, date of birth, and address that was inputted to the program. I have…
Jo Sky
  • 21
  • 3
  • 8
-1
votes
3 answers

How to find files which were last modified 1 year ago

I am writing some code for a program that archives files. So I need to find files which were last modified one year ago. string[] as_Datien = Directory.GetFiles(s_Pfad, "*.*", SearchOption.AllDirectories); for (int i_Stelle = 0; i_Stelle <…
toni
  • 133
  • 1
  • 13
-1
votes
2 answers

using PHP to search files to find certain files and delete them fast

I need to copy content off my site to create another system, because the theme keeps getting hacked. The hacker keeps putting a .ico file that is a malware... So I need to create a php file that will always search for files NOT NAMED favicon.ico and…
Rich
  • 13
  • 1
  • 3
1 2 3
12
13