orglce
orglce

Reputation: 543

Converted Batch File

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!!!

Upvotes: 0

Views: 43

Answers (1)

Rijin
Rijin

Reputation: 102

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

Upvotes: 1

Related Questions