daedalus123 Posted July 26, 2006 Posted July 26, 2006 (edited) HiyasI made a batch file to delete the "Links" folder in IE:RD /s /q "%USERPROFILE%\Favoriter\Länkar"Favoriter\Länkar = "Favorites\Links" in english But it returns the error "File not found", could this be because of the scandinavian characters in the folder name? Other folders with "normal" names are ok to delete. Edited July 26, 2006 by daedalus123
Yzöwl Posted July 26, 2006 Posted July 26, 2006 To fix the problem with the character, use this!RD/S/Q "%USERPROFILE%\Favoriter\L„nkar"You will of course have far more to do than this if you wish to remove that folder. That problem has been covered on more than one occasion within these forums, so I suggest you search appropriately if you have not yet done so.
daedalus123 Posted July 26, 2006 Author Posted July 26, 2006 (edited) When I copy that and paste it in Notepad the "weird" character turns out to ",," (without the quotes). And no, it doesn't work.I got a hold of a friend that told me to use "CHCP 1252" in the batch and hooray, it worked.Some googling shows that "CHCP 1252" converts it all to Unicode. http://www.cygwin.com/ml/cygwin/1999-02/msg00748.htmlProblem solved (and yeah, I got the regtweaks to keep it from reappearing)@echo offCHCP 1252RD /s /q "%USERPROFILE%\Favoriter\Länkar"exit Edited July 26, 2006 by daedalus123
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now