I am the IT Admin at an accounting firm. We continue to use windows folder structure and Windows Explorer instead of going to a document management system (like Docsopen).
Problem is we need the ability to do a couple of things...
1. Have a button on a toolbar of one of our file structure admins that when pressed could create a new folder with a predefined structure (hierarchy)
2. Be able to copy a whole set of folders to multiple folders
Will the scripting in XYplorer do this?
mass folder creation, copying, etc.
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Hi and welcome to the XY forums!
I'll toss out this wiki page as someplace to look for a solution that may suit your needs:
New Items
See if that will handle it, ok?
And yes, I do believe scripting would help also, but that's not yet my area of expertise so I'll defer to jacky or others who've become our scripting geniuses.
I'll toss out this wiki page as someplace to look for a solution that may suit your needs:
New Items
See if that will handle it, ok?
And yes, I do believe scripting would help also, but that's not yet my area of expertise so I'll defer to jacky or others who've become our scripting geniuses.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
Re: mass folder creation, copying, etc.
There's currently no way to do that from Toolbar, but as jc said it can be done using the New Items features. An item from that menu cannot be used directly from scripting as it doesn't have a command id (for obvious reasons), but using scripting it'd be easy enough to simply do something like this:Cliftyman wrote:1. Have a button on a toolbar of one of our file structure admins that when pressed could create a new folder with a predefined structure (hierarchy)
Code: Select all
input $name, "Enter the name of the new folder to create";
copyto "<curpath>\$name", "NewItems\Folder\*";If you want to avoid the popup asking about the non-existing folder (from the copy operation) you can simply use this instead:
Code: Select all
input $name, "Enter the name of the new folder to create";
new "<curpath>\$name", dir;
copyto "<curpath>\$name", "NewItems\Folder\*";Sure, nothing easier! See command copyto for more on how to do this, and find out more about Scripting here.Cliftyman wrote:2. Be able to copy a whole set of folders to multiple folders
Proud XYplorer Fanatic
XYplorer Beta Club