Command line to add text in a file using command line

Status
Not open for further replies.

bikashh

Full Member level 5
Joined
Nov 28, 2009
Messages
264
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
india
Activity points
3,132
Dear experts,

I m new to command line and don not know how to do this simple task using command line.
My problem:

I have a text file, in which I have list of directory paths. So, I want to add a new directory path in between. For this, I need to make space and paste a new path there using command line. Is it possible?

I just have made one line which can go to a specific line number.
command line : start notepad++ path.txt -n26E

I want your help to complete this task.

Thanks in advance
Learner
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…