WSS 3.0 Export files (and leave checked out files)
We have a sharepoint server that we are looking to script an extraction on a partial site.
The request is that they have a site that that can have multiple sub-folders. The file will then be extracted to a single folder.
I have done some digging and have found the following example that would extract files to a single folder:
XCOPY "\sharepointsvr\Dept\Library\".DOC C:\TMP /S /Y XCOPY "\sharepointsvr\Dept\Library\".DOCX C:\TMP /S /Y orfor /R "\sharepointsvr\Dept\Library\" %i IN (*.DOC) DO xcopy %i C:\TMP /M
I am looking at running this as a scheduled tasks form the server using a command script. The above script would dump the files and subfolders into a single (and that is what they would prefer)
My questions are the following.
Is there a way to tell if a files is checked out from a command prompt?If so that it could be skipped?
If not is there a better way to achieve this data extraction for 'checked in files'?
thanks for any thoughts..
March 3rd, 2010 8:57pm
Is there an option using STSADM.exe that would allow me to either do the export or create a list of checked out files?Thanks...
Free Windows Admin Tool Kit Click here and download it now
March 9th, 2010 11:43pm