Post4VPS Forum | Free VPS Provider
Opening multiple text documents at one page - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: Gaming Section (https://post4vps.com/Forum-Gaming-Section)
+--- Forum: Game Server Support (https://post4vps.com/Forum-Game-Server-Support)
+--- Thread: Opening multiple text documents at one page (/Thread-Opening-multiple-text-documents-at-one-page)



Opening multiple text documents at one page - Rehan - 05-19-2021

Hey there,
               I hope everything is fine here. I am here to find out if is it possible to read multiple text document at once. Actually i am doing modification of some game files. I have extracted a game archive and it gave me a 15k of total .dat files. These files are text encrypted files. Most of these are readable text files. I want to search some setting in these files. These are 15k files almost. It's really very hard to find out which of these file contain the required settings. So i was wondering if is it possible to open all files at once and search the required code. Any idea? is it possible ?


RE: Opening multiple text documents at one page - Mashiro - 05-19-2021

You can do that with grepWin (assuming you are using Windows).

grepWin: https://tools.stefankueng.com/grepWin.html

You simply point it to the folder where the files and type in the content you are searching (you can also use regex).

It will search all files for the content you are looking for.


Alternatives are:
- AstroGrep
- BareGrep
- PowerGREP


RE: Opening multiple text documents at one page - deanhills - 05-20-2021

Moved to Game Server Support for future reference.


RE: Opening multiple text documents at one page - tbelldesignco - 05-20-2021

I would honestly look at Visual Studio Code too, Microsoft has done a great job at creating the product so it is open source and there is a huge catalog of third-party extensions that might be able to help you with your issue. I could honestly go into a whole thread about VSC.


RE: Opening multiple text documents at one page - tryp4vps - 05-20-2021

I suppose you are using Windows OS.

If so, you can simply use Notepad++ to search for the required string in all files inside a given directory.

Because from the Search menu of Notepad++ you can select "Find in files" and then choose a directory where the files are located. That's it. Smile


RE: Opening multiple text documents at one page - Sn1F3rt - 05-31-2021

(05-19-2021, 08:33 AM)Rehan Wrote: Hey there,
               I hope everything is fine here. I am here to find out if is it possible to read multiple text document at once. Actually i am doing modification of some game files. I have extracted a game archive and it gave me a 15k of total .dat files. These files are text encrypted files. Most of these are readable text files. I want to search some setting in these files. These are 15k files almost. It's really very hard to find out which of these file contain the required settings. So i was wondering if is it possible to open all files at once and search the required code. Any idea? is it possible ?

Yep, install NotePad++. It's a tiny software, and it lets you open multiple files at once, highlight the code as per the file's extension, and much more as opposed to the Windows NotePad. That is if you do not have an IDE like PyCharm. In that case, even if the files are not Pythonic (for that matter any IDE) you can open it as a project, view the directory hierarchy from the left pane and open as many files you want, and edit them simultaneously. If you do have an IDE the latter is the better option. Good luck!