Page 1 of 1

making a batch file

Posted: 09 Aug 2010 11:13
by pingas
Hello,
I want to make a Batch file which deletes all these files:

c:\Program Files (x86)\Windows Live\Mail
c:\Program Files (x86)\Windows Live\Photo gallery
c:\Program Files (x86)\Windows Live\Writer
c:\Program Files (x86)\Windows Live\Sync
c:\Program Files (x86)\Windows Live\movie maker
c:\Program Files\Windows Live\Mail
c:\Program Files\Windows Live\Photo gallery
c:\Program Files\Windows Live\Writer
c:\Program Files\Windows Live\Sync
c:\Program Files\Windows Live\movie maker

can you please help me to make a good Batch?(or show me the batch to delete them all.


Sincerely,

Pingas

Re: making a batch file

Posted: 09 Aug 2010 11:40
by aGerman
Try

Code: Select all

del /q "C:\Program Files (x86)\Windows Live\Mail\*.*"

The same for all other folders.

Regards
aGerman

Re: making a batch file

Posted: 09 Aug 2010 12:17
by pingas
it says that i can't do, acces denied

Re: making a batch file

Posted: 09 Aug 2010 12:22
by aGerman
Maybe you need admin rights. I don't know. Did you try to delete some files manually?

Regards
aGerman

Re: making a batch file

Posted: 09 Aug 2010 12:23
by pingas
thanks alot, found the solution, right mouse button, as Admin :D
Thanks alot for the Solution

Sincerely,

PINGAS