Questions tagged [notepad]

Notepad is a simple text editor for Microsoft Windows. Use this tag for issues relating to interfacing with Notepad and/or duplicating Notepad functionality.

Notepad is a simple text editor for Microsoft Windows. It has been included in all versions of Microsoft Windows since Windows 1.0 in 1985.

787 questions
145
votes
1 answer

Notepad beats them all?

On a Windows Server 2012 R2 system, a Kotlin program uses FileChannel.tryLock() to hold an exclusive lock on a file, like this: val fileRw = RandomAccessFile(file, "rw") fileRw.channel.tryLock() With this lock in place, I cannot open the file…
MonoThreaded
  • 11,429
  • 12
  • 71
  • 102
35
votes
9 answers

how to open .mat file without using MATLAB?

I have done a project in Matlab and now I have uninstalled Matlab. Now, I need some reference of my project. I'm left with all the .mat files. I'm trying to open them in notepad and I'm getting unicode characters over there. My question is simple.…
Balaji Radhakrishnan
  • 1,010
  • 2
  • 14
  • 28
30
votes
11 answers

Notepad++: Capitalize first letter by Shortcut?

I've got a huge list of words (every single word in one line in a txt file) and certain words need to get capitalized manually (e.g. by hand), so I was looking if there's a shortcut in notepad++ (my editor currently) to automatically capitalize the…
tim
  • 9,896
  • 20
  • 81
  • 137
29
votes
7 answers

How can I make Notepad to save text in UTF-8 without the BOM?

I have a CSV file with special accents and save it in Notepad by selecting UTF-8 encoding. When I read the file using Java, it reads the BOM characters too. So I want to save this file in UTF-8 format without appending a BOM initially in…
user1058036
  • 333
  • 1
  • 4
  • 9
18
votes
4 answers

VIM: Doesn't VIM 'replace' use of CTRL with ESC?

It is usually advertised that using VIM alleviates the need of moving the hand away from home row. However, it seems that instead of going to CTRL, I am stretching my hand to ESC all the time. Note: I am a new vim user and I am trying to migrate…
Asad Iqbal
  • 3,241
  • 4
  • 32
  • 52
17
votes
7 answers

Add text after every line, multiple entries

I'm just looking for a way to quicken the process of adding info after every line in a notepad application. I've got a notepad file that has many entries, around 1000+ and am looking to find a way to add ,"" after every line however I can't simply…
Criel
  • 805
  • 1
  • 14
  • 32
16
votes
3 answers

How do I create a new line using javascript that shows correctly in notepad?

I have a script that copies table cells from the browser into the user's clipboard. I loop through each cell and when a new line is needed I use text += "\n"; If I paste the text into excel, it formats correctly and fills in the proper rows,…
betafish
  • 342
  • 1
  • 4
  • 10
13
votes
17 answers

Windows.Form c# without visual studio

I am trying to learn Windows.Forms, and while I have Visual Studio (edit, my mistake obviously), I feel that I learn much more effectively by doing everything in Notepad. I have searched everywhere for a tutorial that takes this approach. I finally…
Nona Urbiz
  • 4,873
  • 16
  • 57
  • 84
12
votes
5 answers

How does Windows Notepad interpret characters?

I was wondering how Windows interprets characters. I made a file with a hex editor with the 3 bytes E3 81 81. Those bytes are the ぁ character in UTF-8. I opened the notepad and it displayed ぁ. I didn't specify the encoding of the file, I just…
nEAnnam
  • 1,246
  • 2
  • 16
  • 22
11
votes
5 answers

Visual studio file opens only with notepad

I have a very strange issue with Visual Studio 2010. My program have some memory issues, so I have to reboot frequently. After the last reboot, one of my header files has been corrupted automatically, and can be opened now only by notepad (even from…
Bartolinio
  • 780
  • 2
  • 8
  • 17
11
votes
3 answers

How to add a space in front of every line in notepad

I have a list of data in notepad and want to insert a space in the beginning of each line. Example This is how it looks in the notepad now Number "123" "123" "124" "126" "147" I want it to look like below Number "123" "123" …
ppp
  • 111
  • 1
  • 1
  • 3
9
votes
1 answer

Replacement for SimpleCursorAdapter?

I'm looking at the Notepad Tutorial on the Android developer's site and noticed that SimpleCursorAdaptor is deprecated. The new constructor public SimpleCursorAdapter (Context context, int layout, Cursor c, String[] from, int[] to, int…
Tianxiang Xiong
  • 3,887
  • 9
  • 44
  • 63
8
votes
3 answers

No application is associated with the specified file exception

UnhandledException: System.ComponentModel.Win32Exception: No application is associated with the specified file for this operation at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) at…
baron
  • 11,011
  • 20
  • 54
  • 88
8
votes
1 answer

extension less file in windows

How to create extension less file with notepad in windows ?
Biraj Bora
  • 888
  • 2
  • 12
  • 25
7
votes
4 answers

Is there an easy way to View, Edit & Locally store a .txt file through Chrome

This isn't necessarily a coding problem, but users here would be the perfect people to ask. Is there an easy way to view and edit a simple text file (.txt seems the most obvious) on a browser (I use Chrome). I'd like this file to be stored locally…
Nikhil
  • 79
  • 1
  • 2
1
2 3
52 53