Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [textfiles]

The tag has no usage guidance.

0
votes
1answer
56 views

Automate copying part of a text and paste it somewhere else on the same line for multiple lines

I have text files with some information I want to copy from one place and paste somewhere else on the same line. For instance, I have something like: Random text here { Name = "Tropical Smoothie", ...
-1
votes
0answers
13 views

How to remove special characters from text file?

I have an miRNA text file (with more than 1000 data) >hsa-miR-576-3p MIMAT0004796 AAGAUGUGGAAAAAUUGGAAUC >hsa-miR-140-5p MIMAT0000431 CAGUGGUUUUACCCUAUGGUAG I want this text file to look like ...
1
vote
0answers
18 views

C# Tabdelimited text File with multiple column to datatable [closed]

I am trying to convert my text file having TabDelimited data to Datatable, Text file data shown below: Row1Col1 Row1Col2 Row1Col3 Row1Col4_0          &...
0
votes
0answers
24 views

Change Windows 10 preview pane (*.txt) to not wrap text

It's simple - is it possible to make the preview pane for text files not wrap text? Here is notepad showing the file not wrapping, and the preview with wrapping.
1
vote
1answer
34 views

Match files on line beginning

When giving parties, I record everything my guests eat.[1] Note: I've inserted a few tabs to make everything readable. party1.txt: Bernhard Apple Jeremy Cake Liz Cake Daisy ...
1
vote
0answers
72 views

Firefox opens a filetype (textfiles, txt) incorrectly

My Firefox (Quantum on Windows 7) keeps opening text files (with .txt suffix) in the browser, despite having set it to always ask for text documents in Settings -> General -> Applications. The ...
0
votes
0answers
77 views

Consequences of removing NUL characters from a text file?

I have quite a large text file (around 20GB) that I use as a simple database, so each record is separated by a new line, and the breaking of this format will cause problems. This file also contains ...
1
vote
1answer
41 views

Visual Studio 2015 keeps getting standard file association for txt files

On my System running Windows 10 Professional, I am using Visual Studio 2015, which is the standard program associated to Text-Files, i.e all files with a suffix .txt, which means all files of this ...
0
votes
0answers
32 views

Purpose of NUL character in Bitlocker recovery text file

I was setting up BitLocker today and my recovery text file looks like this: However, I tried to copy and paste this file into another document for backup purposes, and it came out looking like this: ...
0
votes
1answer
55 views

How do I import .R or .r files into Evernote as notes?

I have many r files that I'd like to be able to keep and search in Evernote, so importing them as notes would be great. Importing them as attachments doesn't let me search them.
-1
votes
2answers
311 views

Czech symbols changed into gibberish

I have this bizarre problem with Windows 10 Home edition. When I open some basic text file, .srt or .txt for example, it has different encoding. I guess it's because of different encoding since I am a ...
8
votes
2answers
4k views

Change Firefox default encoding for text files

Text files do not include character encoding information, so Firefox has no way of knowing which one is correct. Through the menu View → Text encoding I can select the appropriate encoding. I find ...
0
votes
0answers
64 views

Removing replies in downloaded emails (i.e., non-consecutive duplicate sentences from txt file)

Hello Experts and Fellow Learners! I have dozens of text files that contain monthly archives of a listserv. I'm trying to eliminate/delete quoted replies so that each message only appears once across ...
1
vote
1answer
55 views

Format of Textfile?

There was a problem when I copied a Text file from Linux to Windows. The Text was not as the original, it was shifted to almost one line, also the line break setting couldn't help. The content was ...
0
votes
1answer
80 views

Command Line to find files in folder within folders in Windows Explorer

I do this code in command line to find for series of files that has a .java property, then export in a textfile dir *.java > output.txt However there are still folders after the current folder, ...
0
votes
1answer
3k views

Copy or Export Windows Files to Excel Per Column using Command Line

I need to copy the whole content of Windows Files into Excel Document. Below is the example Image of the Windows Explorer containing the files to be exported Using Command Prompt I do this line to ...
0
votes
0answers
129 views

awk and cut on a very large file

I have to extract a column of data from a very large file >100GB. I know how to use the awk and cut commands do it, but would like to know if one is more efficient (from a speed perspective) for ...
1
vote
0answers
308 views

Text file with row headings to excel file with columns

A text file with the following content: userId=10101 givenname=Mark orclmaidenname=Visser mail=m.visser@somecompany.nl userID=10102 givenname=Jan orclmaidenname=Klaassen userID=10104 givenname=...
5
votes
3answers
9k views

How can I convert a PowerPoint to plain text?

I have a Powerpoint Presentation (.pptx) file with 100 slides. I want to take all of the text from it and save it as a plain text file. How can I do this? PowerPoint doesn't seem to let you save it ...
0
votes
0answers
177 views

How can I find binary data in my text file?

I have a huge log file (several GBs), but somehow there is binary data (grep is annoyed by it) in there, which of course shouldn't be. I know how I can read the file anyway. I don't know how I can ...
0
votes
2answers
1k views

Stop Filezilla from inserting blank lines in text files

Often, from different remote hosts, FileZilla will download a .cssor .php file and insert blank lines in between existing lines. This destroys nice formatting. PC = Windows 10 Pro 64-bit. How do I ...
0
votes
0answers
623 views

Saving web pages in Firefox as text or RTF files that preserve basic formatting and positioning

Is it possible, within Firefox, to save pages containing text while keeping the basic formatting and positioning, but not saving any executable code (JavaScript)? It doesn't need to be perfect, just ...
1
vote
2answers
2k views

compare and find differences of 2 huge text files (50 gb)

I want to find the differences between two text files (more than 50 GB) each. I tried diff but, I got memory exhausted problem. I am using Windows7. My code is in PHP. I was calling diff from my ...
1
vote
0answers
97 views

OwnCloud 8: how to show raw text file in brownser instead of the download button?

The answer to my question has already been answered here by @ceremcem. However, in the meanwhile (the question is from 2014), OwnCloud has evolved and the URL structure has changed. According to my ...
1
vote
1answer
953 views

How to decode text file with symbols like \uXXXX?

I have a 10 Mb file containing \uXXXX characters. How can I decode this with Sublime Text? Example:
1
vote
1answer
549 views

Why does Excel only invoke the Text Import Wizard for .txt files?

Excel ignores comma delimiters in .csv files, but invokes the Text Import Wizard for .txt files that "appear delimited". Surely it should behave the same way for .csv files?
3
votes
1answer
3k views

Cmd output to file gives wrong character encoding

When I redirect the cmd command tree to a text file: tree > c:\tree.txt and open the file with notepad I get the following result: Folder PATH listing Volume serial number is 00000:0000 Z:. ...
3
votes
3answers
171 views

How to format my text file for better appearance?

I want to format my text file for better appearance. So I want any command or any shell script which will format my file as per my expectation. Input File: Index Name City 1. Ravi Bhuva Ahmedabad 2. ...
20
votes
3answers
17k views

How do I get Google Drive to open text files with arbitrary extensions as text files?

I have text files on Google Drive that do not end with the .txt suffix (such as: .r, .bas, .awk...). I want to view them using the Drive Notepad app, but it does not recognize the files as text. Is ...
0
votes
1answer
179 views

Recovery text data from a NTFS partition after disk checking

I have a Win 7 laptop. Today, when I have started Windows, it asked me for checking the partition F: on my hard drive. I accepted. It shows the message that it will delete invalid entries. And ...
0
votes
2answers
4k views

How do I convert many text files from <some_encoding> to utf8-no-bom?

I'm looking to convert lots of text files (40+) from ISO-Latin-1 to UTF8-no-bom. How can I accomplish this?
2
votes
3answers
542 views

Filter file when a column is in whitelist

Suppose I have two files, File A: a,abcdef b,bcdefa c,cdefab a,defabc b,efabcd c,fabcde And File B: a b The output I'm looking for is: a,abcdef b,bcdefa a,defabc b,efabcd So, basically, I want ...
5
votes
2answers
13k views

Display Text File On Desktop [closed]

I am looking for freeware that will allow me to display a text file on my windows desktop. Hopefully some software that is lightweight, and will work on WinXP to Win8. I plan to use this freeware in ...
4
votes
1answer
488 views

file changes — notification and diff

I'm looking for a way to be notified if a text file changes (Windows 7), and be offered a file diff upon such a change. For example, the text editor Notepad++ does part of this, notifying me of an ...
16
votes
2answers
10k views

Edit first line of large text file

I have a huge text file, far too big for the whole thing to be paged into memory. All I need to do with this text file is edit the first line (its a CSV file and I need to alter the titles). Is there ...
11
votes
2answers
43k views

How do I create a multiline text file with Echo in Windows command prompt?

I'm using Windows 7 and I would like to quickly create a small text file with a few lines of text in the Command prompt. I can create a single line text file with: echo hello > myfile.txt but ...
3
votes
1answer
3k views

Free WinMerge alternative with more clear line comparison [closed]

I use WinMerge to compare text files, usually alogn with TortoiseSVN. It is pretty good. The only thing which is inconvenient for me is very rough line comparison. For instance, if I have two long ...
22
votes
4answers
18k views

How to replace part of a text file between markers with another text file?

Say I have a text file like this: # custom content section a b ### BEGIN GENERATED CONTENT c d ### END GENERATED CONTENT I'd like to replace the portion between the GENERATED CONTENT tags with the ...
4
votes
1answer
14k views

How can I make an Excel pivot table from very large text file?

I have a text file with tab delimited columns, that is longer than can be imported into an Excel worksheet (> 1,000,000 rows). I'm trying to figure out how to create an Excel pivot table from the data ...
19
votes
2answers
2k views

Do text files store their encoding method for later decoding?

I was wondering if some text files store their encoding method along their text content for later decoding? Or is it the text viewer's job to guess the encoding method for a given text file, and the ...
2
votes
2answers
215 views

convert lines to fixed column length

I would like to simply take a given text file and enforce a maximum column length of say 80. How can I turn this: Four score and seven years ago our fathers brought forth on this continent, a new ...
3
votes
1answer
1k views

Why a 200 MB text file overloads 4gB ram

I wrote a simple program in c++ that does some calculations, outputs a number to a textfile, and repeats. Several million times. The final text file was around 215 megabytes, yet when I opened it, ...
2
votes
1answer
314 views

How can I automatically split text files into parts of a known size?

I'm pondering the feasibility of splitting up a text based ebook into smaller parts to read on an iPod - they need to be about 4 KB each for that. Is there any command or program (Linux or Windows) ...
2
votes
1answer
807 views

Utility to normalize text files

Does there exist a command line utility to check for and ideally fix grunge in text files? e.g. Inconsistent or non-native line endings (lf vs cr/lf) Extra whitespace at end of lines Spurious byte ...
1
vote
2answers
80 views

How can I see what the format of my textfile is?

I have a textfile and I want to know whether it is Ascii or UTF-8 or something else. How can I see this? Any tool or website that I can use?
4
votes
1answer
255 views

Command-line tool to measure how fast a file is growing?

Is there a command-line tool to measure how fast a text file is growing, in units of lines/second? For small-ish files, I can do something with watch and wc -l, but that measures the file anew each ...
5
votes
2answers
22k views

Saving a tab separated file in Excel without quotes

I have a tab separated value file that I want to edit in Excel. When Excel saves the file it modifies any column with quotes. It puts quotes around the whole column, and then double any quotes within ...
4
votes
1answer
2k views

Is there any simple text file format that supports versioning?

I'm looking for something that has the following features: Single file that has all versioning information stored in it (I believe Microsoft Word has a feature similar to this). I only need it for ...
9
votes
3answers
10k views

How do I export the history from the Windows command line to a text file?

How do I export the history from the Windows command line to a text file? I think you can do it in Linux as something like "history >filename.txt", but how do you do it in Windows? I'm a geneticist, ...
14
votes
5answers
7k views

Open massive file on Mac?

I'm looking to open a massive text file on my mac. The file is just over 10Gigs. I won't get into how it was created or what it's use is, since it isn't really relevant to the question. Are there any ...