making a batch file

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
pingas
Posts: 3
Joined: 09 Aug 2010 11:03

making a batch file

#1 Post by pingas » 09 Aug 2010 11:13

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

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: making a batch file

#2 Post by aGerman » 09 Aug 2010 11:40

Try

Code: Select all

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

The same for all other folders.

Regards
aGerman

pingas
Posts: 3
Joined: 09 Aug 2010 11:03

Re: making a batch file

#3 Post by pingas » 09 Aug 2010 12:17

it says that i can't do, acces denied

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: making a batch file

#4 Post by aGerman » 09 Aug 2010 12:22

Maybe you need admin rights. I don't know. Did you try to delete some files manually?

Regards
aGerman

pingas
Posts: 3
Joined: 09 Aug 2010 11:03

Re: making a batch file

#5 Post by pingas » 09 Aug 2010 12:23

thanks alot, found the solution, right mouse button, as Admin :D
Thanks alot for the Solution

Sincerely,

PINGAS

Post Reply