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
-1
votes
3 answers

How to know whether a file exists or not in internal/external storage in android?

I think this question may be a duplicate but I didn't find any other answers for this. My question is: Is it possible to know whether a file (e.g.: a .txt/.doc/.csv file) exists or not in any location (i.e. internal/external storage) in the device?
syam vakkalanka
  • 426
  • 3
  • 15
-1
votes
1 answer

Java GUI - Error messages keep popping up

I need help at this part try{ FileReader fr = new FileReader("C:\\test.txt"); BufferedReader br = new BufferedReader(fr); String text = txtKeyword.getText(); String…
user3663202
  • 11
  • 1
  • 3
-2
votes
1 answer

how to find a certain named import in vscode

for example I have a following line in some file in my project: import { Button, Switch, message, notification } from 'antd'; and the following line in another file: import { Table, notification } from 'antd'; How can I use VSCode search to find…
mcmxc
  • 574
  • 1
  • 7
  • 19
-2
votes
6 answers

How to find a 7 letter word without the letter s and contains only one vowel in a word file?

I am being asked to program a code that will print words from "dictionary.txt" (a 250,000 word file) that contain only one vowel, no letter "s" and is 7 letters long. I know I will have to define a function that opens the file and searches it for…
-2
votes
1 answer

Is there a way to conduct a "fuzzy" search in files in VS 2003?

I need to find code like this: Platypus = true; (that is, any place in the code where Util.StopCancel is set to true) ...but in some places in the code, it is thus: Platypus = true; (superfluous spaces); thus such cases are not found. I could…
-2
votes
1 answer

How do I make FindFirst look for files in the current directory?

I'm having trouble writing code for a procedure that will open a directory folder and delete all of the files within it recursively so that I can in turn delete the folder itself. I won't have trouble with the recursive procedure, but I can't seem…
user2583762
-2
votes
1 answer

Zip file with .csv extention lost somewhere in filesystem

The file is also locked with winzip and I cant remember the name or directory, I hid it in a very obscure directory. Could be in the windows system files could be in a program directory file. I did a search for all .CSV files I have 4-5K to go…
-3
votes
1 answer

Can we search a filename in the whole computer using java

i am making a client server program in which client request a filename to server and server search that file and then send that file to client if found. In my case server is my computer. So, is there any method using which i can search that file in …
rocky
  • 1
  • 6
-3
votes
1 answer

Powershell .NET System.IO.Compression to C# .NET Conversion

I have the following which works correctly in powershell was wondering how to do the same thing in C#. I need to find the .zip files and one by one unzip them to a temporary location search through the contents, list file if found then remove temp…
ondrovic
  • 1,105
  • 2
  • 23
  • 40
1 2 3
12
13