Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7063 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I have a script that creates a windows folder on my server drive o: with the same title as an estimate number generated by FM.

Now, I want to copy sub-folders contained within another file at o:templates and paste them to o:Estimate_Log::Estimate Number which was just created.

I'm not familiar with the send event or cmd language and have been shooting in the dark.

Thanks for your help!

Joe

Edited by Guest
Posted

I just figured it out myself...woo hoo! thanks to some windows xp command descriptions I found online. The cmd stuff is new to me, but it sure is useful.

Here's the Send Event script if anyone needs it:

Make it a calculation and type the following into the calculation field (include the quotes).

"CMD /c XCOPY driveletter:sourcefoldername* " & yourtable::fieldname & " /s /i"

note the spaces inside the quotes, they're critical or it doesn't work right.

This copies the folders, subfolders and files from the source folder to a new one that you create while using data from a field in the title.

It will create the directory tree automatically and populate the folders.

If anyone needs a list of windows xp command lines. check out:

http://www.ss64.com/nt/

peace.

This topic is 7063 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.