I was writing a batch file and I tried this command %~f0. Then notepad ++ ask me to reload the file because it was edited from another program. I reloaded it and all the batch code became this strange black squares. How can I get the code back? Please Help!!!
1 Answer
Using %~f0 gives the full name and path of the batch file under execution. I don't think it can corrupt your file. Unless you rewrote on to that file by accident (redirection?). in that case your file is lost :(