Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

How to delete a file on AppData folder?

- - - - -

  • Please log in to reply
17 replies to this topic

#1
Cauptain

Cauptain

    Newbie

  • Member
  • 15 posts
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 file

I try this:


del /Q C:\Documents and Settings\Administrator\Local Settings\AppData\Microsoft\Windows\UsrClass.dat.LOG

erase /Q C:\Documents and Settings\Administrator\Local Settings\AppData\Microsoft\Windows\UsrClass.dat.LOG




Not working on XP but working on Vista OS.

This file is Hidden and System file.

Anyone help-me?


How to remove advertisement from MSFN

#2
redxii

redxii

    Member

  • Member
  • PipPip
  • 286 posts
Probably because it's a system file.

Are you experiencing any errors relating to this file or did it look at you funny?

#3
Cauptain

Cauptain

    Newbie

  • Member
  • 15 posts

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.

#4
johnhc

johnhc

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,362 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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 " /f
I got this from Help and Support in the Start menu. Please let us know how it turns out. Enjoy, John.

#5
redxii

redxii

    Member

  • Member
  • PipPip
  • 286 posts
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 by redxii, 07 April 2009 - 05:59 PM.


#6
redxii

redxii

    Member

  • Member
  • PipPip
  • 286 posts
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.LOG

But still, if the account is logged in you can't delete it.

Edited by redxii, 07 April 2009 - 06:08 PM.


#7
Cauptain

Cauptain

    Newbie

  • Member
  • 15 posts

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 " /f
I 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. :blushing:

#8
johnhc

johnhc

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,362 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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.

#9
Cauptain

Cauptain

    Newbie

  • Member
  • 15 posts
Attached File  erro.jpg   115.06KB   10 downloads

Yes. Not work too. :blushing:

#10
redxii

redxii

    Member

  • Member
  • PipPip
  • 286 posts
You have to log out of the Administrator (Administrador) account and use another account to delete that file in the Administrator's profile folder.

#11
Cauptain

Cauptain

    Newbie

  • Member
  • 15 posts

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

#12
johnhc

johnhc

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,362 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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.

#13
Cauptain

Cauptain

    Newbie

  • Member
  • 15 posts

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

The last tip work flawless. Yeah great team work :thumbup

I change the user for "actual user". PERFECT

del "C:\Documents and Settings\%USERNAME%\Dados de aplicativos\Microsoft\Outlook\extend.dat" /f

I´m to sleep very happy now.



Muito Obrigado :blushing:



Claudio Raphael "aka" Cauptain

#14
Sp0iLedBrAt

Sp0iLedBrAt

    MSFN Addict

  • MSFN Sponsor
  • 1,727 posts
  • OS:XP Pro x86
  • Country: Country Flag
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

#15
redxii

redxii

    Member

  • Member
  • PipPip
  • 286 posts
Maybe not unless you want to screw up your profile..

#16
Sp0iLedBrAt

Sp0iLedBrAt

    MSFN Addict

  • MSFN Sponsor
  • 1,727 posts
  • OS:XP Pro x86
  • Country: Country Flag

Maybe not unless you want to screw up your profile..

No, I don't ; it is a great solution to Cauptain's problem

#17
mooms

mooms

    Hello world !

  • Member
  • PipPipPip
  • 303 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I agree, Unlocker is very handy.

#18
Cauptain

Cauptain

    Newbie

  • Member
  • 15 posts

Maybe not unless you want to screw up your profile..

No, I don't ; it is a great solution to Cauptain's problem



Sp0iLedBrAt, how do you do man?

I use Unlocker (nice soft), but this is to use on 500 users.

I have installed Trend AV on my network. My old AV mcafee forget the stupid DLL on all desktops.

Because this I need make a bat file for login script.

The help of redxii and johnhc was very crucial for result. Tks again guys.

But tks for reply.



Cauptain




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN