![]() |
#1 |
Junior Member
Join Date: Apr 2018
Posts: 14
|
Write a line
I want write a line of text (in portable mode) in hosts file...
What have I to write? Thanks |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,699
|
Have you tried searching the forum and wiki?
Portable applications and host files don't really mix since you have to be elevated to change the hosts file and you don't really want to elevate the portable application. IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Apr 2018
Posts: 14
|
"... since you have to be elevated to change the hosts file and you don't really want to elevate the portable application".
What does it mean??? And If I want elevate the portable application? |
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,699
|
You just asked about Drag & Drop in another thread and you cannot elevate if you want to be a drag target.
Elevation is not really relevant to the topic at hand, this is about text file manipulation. IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|