Cauptain Posted April 7, 2009 Share Posted April 7, 2009 Hi plp,I need a very help.I want delete a file on C:\Documents and Settings\Administrator\Local Settings\AppData\Microsoft\Windows\UsrClass.dat.LOG - via .BAT fileI try this:del /Q C:\Documents and Settings\Administrator\Local Settings\AppData\Microsoft\Windows\UsrClass.dat.LOGerase /Q C:\Documents and Settings\Administrator\Local Settings\AppData\Microsoft\Windows\UsrClass.dat.LOGNot working on XP but working on Vista OS.This file is Hidden and System file.Anyone help-me? Link to comment Share on other sites More sharing options...
redxii Posted April 7, 2009 Share Posted April 7, 2009 Probably because it's a system file.Are you experiencing any errors relating to this file or did it look at you funny? Link to comment Share on other sites More sharing options...
Cauptain Posted April 7, 2009 Author Share Posted April 7, 2009 Probably because it's a system file.Are you experiencing any errors relating to this file or did it look at you funny?It´s not funny man. I´m install a new AV soft (Trend).My old AV (mcaffee) create a error on Outlook file. I need delete a extend.dat on OLK folder but in my home not use OLK. because this try on another file.Tks for reply. Link to comment Share on other sites More sharing options...
johnhc Posted April 7, 2009 Share Posted April 7, 2009 Cauptain, to begin with, since the file name contains blanks, it should be in quotes ("). If that still fails, try the /f switch (force).Example: del /Q "C:\Documents and Settings\Administrator\Local Settings\AppData\Microsoft\Windows\UsrClass.dat.LOG " /fI got this from Help and Support in the Start menu. Please let us know how it turns out. Enjoy, John. Link to comment Share on other sites More sharing options...
redxii Posted April 7, 2009 Share Posted April 7, 2009 (edited) You should be able to delete it as long as the account it belongs to isn't logged on, so you have to have another administrator account to delete it from. Edited April 7, 2009 by redxii Link to comment Share on other sites More sharing options...
redxii Posted April 8, 2009 Share Posted April 8, 2009 (edited) Also you might be confused about the path to the file. In XP it's:C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat.LOGBut still, if the account is logged in you can't delete it. Edited April 8, 2009 by redxii Link to comment Share on other sites More sharing options...
Cauptain Posted April 8, 2009 Author Share Posted April 8, 2009 Cauptain, to begin with, since the file name contains blanks, it should be in quotes ("). If that still fails, try the /f switch (force).Example: del /Q "C:\Documents and Settings\Administrator\Local Settings\AppData\Microsoft\Windows\UsrClass.dat.LOG " /fI got this from Help and Support in the Start menu. Please let us know how it turns out. Enjoy, John.Tks johnhc, but not working. Link to comment Share on other sites More sharing options...
johnhc Posted April 8, 2009 Share Posted April 8, 2009 Cauptain, did you do what redxii suggested? Do you get an error or does it just not delete the file? Please remove the /q switch and run it from a command prompt and post a screen shot. Enjoy, John. Link to comment Share on other sites More sharing options...
Cauptain Posted April 8, 2009 Author Share Posted April 8, 2009 Yes. Not work too. Link to comment Share on other sites More sharing options...
redxii Posted April 8, 2009 Share Posted April 8, 2009 You have to log out of the Administrator (Administrador) account and use another account to delete that file in the Administrator's profile folder. Link to comment Share on other sites More sharing options...
Cauptain Posted April 8, 2009 Author Share Posted April 8, 2009 You have to log out of the Administrator (Administrador) account and use another account to delete that file in the Administrator's profile folder.It´s a hard ..No way, I create a new admin account, type de lines and...nothig.Wheres my error?? Link to comment Share on other sites More sharing options...
johnhc Posted April 8, 2009 Share Posted April 8, 2009 Cauptain, you need to do what redxii says, but first, remove the /Q switch and run only the one with the quotes (") and /f. Please post a screen shot. Enjoy, John. Link to comment Share on other sites More sharing options...
Cauptain Posted April 8, 2009 Author Share Posted April 8, 2009 Cauptain, you need to do what redxii says, but first, remove the /Q switch and run only the one with the quotes (") and /f. Please post a screen shot. Enjoy, John.Many many many Tks guys: redxii & johnhc The last tip work flawless. Yeah great team work I change the user for "actual user". PERFECTdel "C:\Documents and Settings\%USERNAME%\Dados de aplicativos\Microsoft\Outlook\extend.dat" /fI´m to sleep very happy now.Muito Obrigado Claudio Raphael "aka" Cauptain Link to comment Share on other sites More sharing options...
Sp0iLedBrAt Posted April 8, 2009 Share Posted April 8, 2009 Have you considered in this forum the "Unlocker" software? It does really work and deletes any file, no matter what process it's stuck to or which user is logged in.p.s. It's not my intention to advertise; I have found it as an nLite addon.Regards Link to comment Share on other sites More sharing options...
redxii Posted April 8, 2009 Share Posted April 8, 2009 Maybe not unless you want to screw up your profile.. Link to comment Share on other sites More sharing options...
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