Bitcoin Forum
June 09, 2024, 06:00:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to run salvagewallet easiest way  (Read 565 times)
morbius55 (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 109


View Profile
September 06, 2017, 07:27:22 PM
 #1

Could someone tell me how to run salvagewallet for latest bitcoin core on windows. I have installed it on D drive if that makes a difference. Thanks.
ncsupanda
Legendary
*
Offline Offline

Activity: 1628
Merit: 1012



View Profile
September 06, 2017, 08:23:35 PM
 #2

Go to the location of your bitcoin-qt file -> Shift+Right click -> Open command window here -> bitcoin-qt -salvagewallet
morbius55 (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 109


View Profile
September 06, 2017, 09:43:50 PM
 #3

Go to the location of your bitcoin-qt file -> Shift+Right click -> Open command window here -> bitcoin-qt -salvagewallet

It doesn't open a command window in Windows 10.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
September 06, 2017, 10:07:40 PM
 #4

Go to the location of your bitcoin-qt file -> Shift+Right click -> Open command window here -> bitcoin-qt -salvagewallet

It doesn't open a command window in Windows 10.

1. Click shift+r and then type "cmd.exe".
2. Locate the bitcoin-qt.exe file and copy the path at the top (where explorer shows the path, click that and you'll get text - you may need to double click).
3. run "cd "+[path you just copied]
4. *optional run "dir | grep bitcoin-qt.exe" (just check that it is there and you're in the right place)
5. run "bitcoin-qt.exe -salvagewallet" and it should run the salvage wallet command.

EDIT: just to check, when you ran the option above, you didn't select the bitcoin-qt.exe file before trying to open the console window did you? It has to run just in the main part of that folder, not in a specific path.

Alternative Method:
Open notepad++/notepad.exe and type "bitcoin-qt.exe -salvagewallet" and save that file as "bitcoin-qt.bat" n the same place as the bitcoin-qt.exe application. (ensure you change the type from ".txt" to "All Files").
Then just select this file in explorer and hit enter.
morbius55 (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 109


View Profile
September 06, 2017, 11:07:31 PM
 #5

Go to the location of your bitcoin-qt file -> Shift+Right click -> Open command window here -> bitcoin-qt -salvagewallet

It doesn't open a command window in Windows 10.

1. Click shift+r and then type "cmd.exe".
2. Locate the bitcoin-qt.exe file and copy the path at the top (where explorer shows the path, click that and you'll get text - you may need to double click).
3. run "cd "+[path you just copied]
4. *optional run "dir | grep bitcoin-qt.exe" (just check that it is there and you're in the right place)
5. run "bitcoin-qt.exe -salvagewallet" and it should run the salvage wallet command.

EDIT: just to check, when you ran the option above, you didn't select the bitcoin-qt.exe file before trying to open the console window did you? It has to run just in the main part of that folder, not in a specific path.

Alternative Method:
Open notepad++/notepad.exe and type "bitcoin-qt.exe -salvagewallet" and save that file as "bitcoin-qt.bat" n the same place as the bitcoin-qt.exe application. (ensure you change the type from ".txt" to "All Files").
Then just select this file in explorer and hit enter.

Cheers, ended up doing it by adding to the shortcut in properties.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!