Can't xcopy FP2003 web folders with blue dot

D

Don Culp

I use xcopy for backup. For example, the command would be:

xcopy c:\frontpage\web1 k:\backup\frontpage\web1 /d /s

where the /d switch only copies newer files and the /s switch operates on
subfolders.

However, this doesn't work on local web folders (like web1) created by
FP2003. Xcopy simply aborts with "0 files copied", even though there are
actually newer files in c:\frontpage\web1 subfolders. This type of xcopy
command works fine for other folders but not those created by FP2003. I do
notice in Windows Explorer that the web1 folder has a dot on it that appears
to be blue and perhaps some other color. I don't see this dot on any other
folders.

Thanks,
Don Culp
 
P

Peter R. Fletcher

Frontpage web directories have the System Attribute set - I don't know
if this is documented anywhere, but it is certainly the case! Since
Directories haven't historically used this Attribute bit, some
programs get confused by this (the Coffee Cup HTML Editor is one), but
XCOPY is actually doing what it is told - to copy hidden and system
files (and, presumably by extension, directories), you need to specify
the /H flag on XCOPY's command line.

I use xcopy for backup. For example, the command would be:

xcopy c:\frontpage\web1 k:\backup\frontpage\web1 /d /s

where the /d switch only copies newer files and the /s switch operates on
subfolders.

However, this doesn't work on local web folders (like web1) created by
FP2003. Xcopy simply aborts with "0 files copied", even though there are
actually newer files in c:\frontpage\web1 subfolders. This type of xcopy
command works fine for other folders but not those created by FP2003. I do
notice in Windows Explorer that the web1 folder has a dot on it that appears
to be blue and perhaps some other color. I don't see this dot on any other
folders.

Thanks,
Don Culp

Please respond to the Newsgroup, so that others may benefit from the exchange.
Peter R. Fletcher
 
D

Don Culp

Thanks. This worked.

Don Culp

Peter R. Fletcher said:
Frontpage web directories have the System Attribute set - I don't know
if this is documented anywhere, but it is certainly the case! Since
Directories haven't historically used this Attribute bit, some
programs get confused by this (the Coffee Cup HTML Editor is one), but
XCOPY is actually doing what it is told - to copy hidden and system
files (and, presumably by extension, directories), you need to specify
the /H flag on XCOPY's command line.



Please respond to the Newsgroup, so that others may benefit from the exchange.
Peter R. Fletcher
 
T

Thomas A. Rowe

Question: Why not just publish to the K drive, which would solve the problem plus ensure that FP
recognize the folder as web if ever needed?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top