0

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

1 Answer 1

1

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 :(

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.