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

Strange utf8 decoding error in windows notepad

If you type the following string into a text file encoded with utf8(without bom) and open it with notepad.exe,you will get some weired characters on screen. But notepad can actually decode this string well without the last 'a'. Very strange…
AlumiK
  • 57
  • 6
1
vote
1 answer

#copy from excel and paste to notepad using VBA

I am able to print the values from excel to notepad, but the format is bit different, Dim txtFile As String, rng As Range, cellValue As Variant, r As Integer, c As Integer txtFile = slocation & "\" & "Cont_name_" & Filename & ".txt" lrow =…
koti
  • 37
  • 5
1
vote
1 answer

Notepad++ reloaded a file that wasn't saved on notepadd++ and was modified caused deleted info

I had a file in Notepad++, I made changes in notepad++ and forgot to save there, no big deal since npp auto-saves it when you close it. I accidentally changed the txt file via normal windows notepad and saved. (that caused the txt file to made…
Assaf
  • 89
  • 2
  • 8
1
vote
0 answers

Desmume Lua issue

Trying to get Rhythm Heaven ds to work on an emulator, which I have, but its really difficult to play because you have to flick, and getting the timing is really hard, especially with a mouse. Most of the rhythm games require high speed flicking. I…
HoneyTart
  • 11
  • 1
1
vote
2 answers

Find & replace notepad++ using regular expression

I want to find text like },1{ },12{ and replace this with },{. I need regular expression to match word like },digit{. I have tried this but its not matching exactly: [^\}][^\,][^\d][^\{]
Omi
  • 3,954
  • 5
  • 21
  • 41
1
vote
1 answer

Disable drag and drop in notepad

I would like to disable the ability to drop anything into Notepad. I have finally found a way to disable the drop, like this : *lbutton:: send,{lbutton down} keywait,lbutton,u if mouseIsOver("ahk_exe notepad.exe") { return } else { send,{lbutton…
user10643288
1
vote
1 answer

How to remove a line break and the number from a text file in Notepad

I got some questions saved as .txt file. I want to remove all question numbers and a line break from it's options and put a TAB space with the question. Like a QUESTIONOPTION1OPTION2OPTION3OPTION4 then a…
user10111962
1
vote
0 answers

SSIS:The Flat File Connection Manager is unable to read fixed width txt file properly

I need to read data from a fixed width txt file which will be put on the server and write that data to a SQL table through SSIS package. The problem is that when I open the txt file in notepad, the data seems to be unformatted (first row seems…
Hafsa Khan
  • 25
  • 5
1
vote
1 answer

Copy everything from an open notepad into a spreadsheet using VBA without having to save the notepad

There are some great resources to copy and paste a pre-existing notepad's data into an excel spreadsheet using VBA. I have not found anything to help with my issue though... I would like to copy and paste all the data from an open notepad into an…
SadMrFrown
  • 157
  • 2
  • 15
1
vote
1 answer

Notepad++ loses line-break when re-opening with Notepad

So I was replacing some text on Notepad++ and everything looked fine. I was creating a list and each item was in a different line. But when I re-opened it with the normal Notepad, all the list was in one sentence together and same sentence. It…
Rai
  • 21
  • 2
1
vote
0 answers

Can you alter text in a js file in notebook and have it update?

Ok so I know my question isn't worded very well so I'm going to do my best to describe my situation. I have a js file that needs to be in a separate folder than the rest of the program. I also need other users on the server to be able to update an…
Emma B
  • 41
  • 4
1
vote
1 answer

VBS bot not working properly

Currently I'm making a bot which ultimately should simply play a song on a website, but the bot simply is unable to click the button. I aquired the name of the button by inspecting the HTML code on the website. I will show my code below and also add…
Gravi
  • 11
  • 2
1
vote
1 answer

Converting Excel data to notepad

Whenever I run the macro text file is generated but there is space after every line., How do I fix it? Here it is my code Sub test() Dim txt As String, i As Long, rng As Range Set rng = Range("A1:C500") For i = 1 To rng.Rows.Count …
robot ji
  • 11
  • 1
1
vote
3 answers

Opening CSV file as Notepad then new line not seen

My Java code produce csv file. when I open this CSV file as Notepad, I can not seen new line. I see all data just one line. Because of this reason , I can not add this file SQL database. How can I solve this problem? For example, test.csv file :…
user9305947
1
vote
1 answer

switch the order in a text file

I got a text file in this format: ip1:user1:pass1 ip2:user2:pass2 ip3:user3:pass3 How can I change the order in lines to get this result? user1:pass:1@ip1 user2:pass2@ip2 user3:pass3@ip3
Ion Pop
  • 69
  • 1
  • 6