Sign in to follow this  
Followers 0
mreidiv

Easy Question

2 posts in this topic

I need a  small batch script to delet the files in a folder located in appdataroamingmicrosoftexcel folder for the current user only i have tried del %appdata%roamingmicrosoftexcel*.* in various different syntax. I am new to scripting so any help would be great.

Thanks in advance

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Welcome to the forum. Please understand this is a forum dedicated to assisting people with their own scripts, it is not a place where you put in a request and someone churns up code for you. What you are looking to do is relatively easy. I would suggest beginning by looking at FileDelete in the help file. The examples in that section should give you a good idea how it works.

Once you have this down, you can look at the various macros such as @UserProfileDir and @AppDataDir to get you to the right folder.

Edited by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0