Is 'File not found' the only output? Or additionally something like
No such file or directory - C:\\Users\\USERNAME\\AppData\Roaming\Bitcoin ?
Did you install bitcoin core in the standard path? If not you have to add this parameter:
--datadir=YOUR_PATHIn this case your command would look like this:
pywallet.py --datadir=<path to directory> --dumpwallet > myhash.txt
You can also dump your wallet from core itself:
Edit: Just found out that its not possible to dump encrypted wallets using pywallet without the
--passphrase=PASSPHRASE command.
But you could try btcrecover (
https://github.com/gurnec/btcrecover) to crack the password of your wallet.dat
Please note that cracking a 10+ character password without knowing what it could be, is pretty desperate.