Deleting a File or Directory that Contains a Percent Sign
Keywords: %% % percent sign
Question:
I have a directory named, "%user profile%", which I want to delete. How do I do that, so that WinBatch doesn't think this is a variable?Answer:
Use two percent signs to do it, as in:DirRemove("%%user profile%%")
Article ID: W13442Filename: Deleting File or Directory that Contains a Percent Sign.txt