Scripting Directory Creation

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
adamm
Posts: 1
Joined: Wed Jan 25, 2006 1:59 pm

Scripting Directory Creation

Post by adamm » Wed Jan 25, 2006 2:02 pm

Whats the best way (if possible) to script directory and file creation?

For example we have the same subdirectory and 4 files created for every customer directory, is there a way to script this or access this via creation?

Thank you!

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Wed Jan 25, 2006 3:05 pm

You could write something with the Command Line Client or the Vault Client API using CREATEFOLDER. You wouldn't be able to create the files with it, but you could create the files elsewhere and use ADD to add files.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply