How to relocate ltc-qt core block on first start, when first was erroneously writen?

this error:
Cannot obtain a lock on data directory “directory”. Litecoin Core is probably already running.
i need to make a new location of core blocks on firs start

p.s. uninstal doesn’t help. where is that configuration file?

Here’s the path to finding the litecoin data directory:

Platform Data directory path
Linux $HOME/.litecoin/
macOS $HOME/Library/Application Support/Litecoin/
Windows %APPDATA%\Litecoin\ [1]

To set your custom configuration, you need to create a file called litecoin.conf in this folder. Inside this file, you can for example tell Litecoin Core where to store the blockchain etc.