Jump to content

Moving file to another


Recommended Posts

Ok here is my problem, I need to copy a zip file from all my user folders and I have no clue how to even start the script. My tree is like so

Users

All My UserName

_ProfileUser

ZipFile

What I would need the script to do is in the root folder I need to go in the first folder, in the _ProfileUser and copy the zipfile to another location, then move on to the next folder.

I looked into the FileFindFirstFile but I'm not sure that is what I need.

Thank you for the help!

UPDATE: ok so I figured maybe _FileListToArray would be able to help me out here! Let me know If i'm going in the right direction!

Edited by AllSystemGo
Link to comment
Share on other sites

Looks like your using Vista or Windows 7 so do you have permissions when running the script for other users profiles?

If you put #RequireAdmin then it should make UAC ask for permissions and give it rights not too use but worth a try.

Edited by Onichan
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...