thelittlestgiant Posted July 25, 2005 Posted July 25, 2005 (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 July 25, 2005 by Guest
thelittlestgiant Posted July 25, 2005 Author Posted July 25, 2005 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now