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
vote
1 answer

Cannot find error in this simple assembly program

I am working with the following 16-bit assembly code: .model tiny .code ORG 100H FILE_NAME EQU 9EH ;DTA Position after execution of search_first_file START: mov ah,9 …
user904832
  • 557
  • 1
  • 6
  • 10
1
vote
1 answer

Windows search for all filenames having "string1" in the contents and not having "dislike" in the contents

Below windows powershell command helps list all files [excluding a few filenames] that contain string1 Get-ChildItem -Path "D:\Jenkins" -File -Recurse | Where-Object { $_.Name -notlike "*log*" -and $_.DirectoryName -notlike "*\\Backup\\*" } |…
Ashar
  • 2,942
  • 10
  • 58
  • 122
1
vote
0 answers

Difficulty Implementing the 'search.strings' Argument with '1' in File Search Function made

I have been attempting a q that aims to search for files in a directory that match specific search strings, retrieve information about those files (modification date and file size), store the information in a data frame, and save the data frame to a…
1
vote
1 answer

Visual Studio Code search not showing obvious files

I'm running into issues with VS Code's file search. I've tried restarting the app, reopening the workspace, etc, but the problem persists. Simply put, the file search can't find exact matches for basic files like my package.json or tsconfig.json in…
rolias4031
  • 233
  • 2
  • 10
1
vote
2 answers

function of searching a string from a file

This is some code I wrote to check a string's presence in a file: bool aviasm::in1(string s) { ifstream in("optab1.txt",ios::in);//opening the optab //cout<<"entered in1 func"<
AvinashK
  • 3,309
  • 8
  • 43
  • 94
1
vote
1 answer

What regex strings can distinguish files containing "PE null null L" from "PE null null d"

I need a quick and easy way to know how many dlls are 32-bit and how many are 64-bit in a given directory. I was about to write a PowerShell script when I thought of a much simpler solution. I've shown below that my idea can work but I need a little…
skinnedknuckles
  • 371
  • 3
  • 12
1
vote
2 answers

.NET, Syntax for '<' and '>' wildcards in search pattern when EnumerationOptions MatchType = MatchType.Win32

The .NET documentation for MatchType.Win32 for Net-Core and Net 5+ versions says: Match using Win32 DOS style matching semantics. '*', '?', '<', '>', and '"' are all considered wildcards. Matches in a traditional DOS / Windows command prompt…
stymie2
  • 101
  • 10
1
vote
1 answer

Replicate aws cloudsearch data into apache solr

Is there any way to replicate replicate file index data which is aws cloudsearch to apache solr hosted on ec2 real time.
CharlesDeeZee
  • 689
  • 1
  • 8
  • 20
1
vote
0 answers

Correct string searching from file in C

This is my coplete project for anyone interested in more context: https://www.codepile.net/pile/LEYKzR0N However I dont believe you need the whole code to answer this. My function listGamesForPlayer reads a file that's format looks like this the…
1
vote
1 answer

In VS code is there option to include files from some folders AND filter by extension/name of file?

Using Visual Studio Code, we have a project with structure of folders. In the folders there are json files which contains various strings and some additional files. Does VS code allow such search, that all applies, so we: Find the text specified in…
Tatranskymedved
  • 4,194
  • 3
  • 21
  • 47
1
vote
1 answer

Python Find a file with closest modified date

I have a given file I need to find within a folder structure. There can and will be duplicate filenames within the file structure so I also need to return the file with the closest modified date to a given date. Simply returning the most recent file…
Maxwell
  • 149
  • 1
  • 12
1
vote
2 answers

set directory for search program in python

I am trying to develop a CNN for image processing. I have about 130 gigs stored on a separate drive on my comp, and I'm having trouble navigating a simple python search program to search through that specified directory. Im trying to have it find a…
blit
  • 11
  • 2
1
vote
0 answers

How to turn off form feed special character '\f' in python 3.7?

I'm creating a function that uses pandas to read different csv files located in the same folder in my workign directory. I used a loop to attach the individual file names onto the path name for the folder. My problem is that some of my file names…
1
vote
2 answers

copy paste files from different directories to one folder

I'm stuck again! my story is: I need to find files named "tv.sas7bdat" that exists in different folders in a directory and save the content of all files found into a single excel file on my desktop. With my actual Code I can get all paths for that…
Shahine Greene
  • 196
  • 1
  • 3
  • 15
1
vote
0 answers

Sublime global file search: interpret `::` as `/`

In Ruby, namespaces are separated by :: (e.g.: Services::ProductService), and it's good practice to keep the file system structure consistent (e.g. above: services/product_service.rb. When looking up a class file using cmd+T, it would be very handy…
ecoologic
  • 10,202
  • 3
  • 62
  • 66