Jump to content

Easy Question


mreidiv
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Moderators

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

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...