user44839: First I close Bitcoin Core...
The size of Bitcoin Core it is 105GB and I want to do pruning so I can have only 2 GB. I make a notepad file named bitcoin.conf and then I write inside prune=2000 or I even tried prune=<2000>.
Then, I have put this file at the install directory or I created the folder Bitcoin and I have put the notepad file in there at the path C:\Users\<user name>\AppData\Roaming\Bitcoin
After all these I open the Bitcoin Core, but nothing happens, it still is 105 GB.
What I am doing wrong? Please help me, I can't understand!


user5406: If you put startup commands on the command line, you need to add a dash in the beginning (e.g. bitcoind -prune=2000). 
However, when you put them in the bitcoin.conf, I think they have to be put without a dash (e.g. prune=2000). Yet, in the screenshot you show it has a dash. Have you tried putting it in the bitcoin.conf without the dash?

user66153: The problem is right there in your screenshot. You have not actually created the bitcoin.conf. It should not be a text document. On a fresh Windows install the extensions of known file types are hidden by default. Go to Organize -> Folder and search options -> View -> Uncheck Hide extensions for known file types. Then rename bitcoin.conf.txt to bitcoin.conf. Now you have a CONF file.

44839: <p>First I close Bitcoin Core...</p>

<p>The size of Bitcoin Core it is 105GB and I want to do pruning so I can have only 2 GB. I make a notepad file named <code>bitcoin.conf</code> and then I write inside <code>prune=2000</code> or I even tried <code>prune=&lt;2000&gt;</code>.</p>

<p>Then, I have put this file at the install directory or I created the folder Bitcoin and I have put the notepad file in there at the path <code>C:\Users\&lt;user name&gt;\AppData\Roaming\Bitcoin</code></p>

<p>After all these I open the Bitcoin Core, but nothing happens, it still is 105 GB.</p>

<p>What I am doing wrong? Please help me, I can't understand!</p>

<p><a href="https://i.stack.imgur.com/ogCOy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ogCOy.jpg" alt="enter image description here"></a></p>
 5406: <p>If you put startup commands on the command line, you need to add a dash in the beginning (e.g. <code>bitcoind -prune=2000</code>). </p>

<p>However, when you put them in the <code>bitcoin.conf</code>, I think they have to be put without a dash (e.g. <code>prune=2000</code>). Yet, in the screenshot you show it has a dash. Have you tried putting it in the <code>bitcoin.conf</code> without the dash?</p>
 66153: <p>The problem is right there in your screenshot. You have not actually created the <code>bitcoin.conf</code>. It should not be a text document. On a fresh Windows install the extensions of known file types are hidden by default. Go to Organize -> Folder and search options -> View -> Uncheck Hide extensions for known file types. Then rename <code>bitcoin.conf.txt</code> to <code>bitcoin.conf</code>. Now you have a CONF file.</p>
