Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Error if 'run program before copy' deletes files

Using the new 'run external program before copy' feature, I wrote a batch script to delete a number of unwanted article files (a problem mentioned in my earlier thread.)

On publish, this error now occurs during local updates (but not during FTP updates!):

"Publishing failed.  Please ensure that the specified folder, D:Website\, is accessible from this computer."

I guess this is because it is expecting to find the temporary files which I have deleted.  Here is my batch script:

cd %1
del *.wipeit /s

I gave one article genre a .wipeit file extension using the template properties.

Mark Major
Wednesday, May 28, 2003

..though I typed the 'D:\Website' path wrong there.  it's correct and previously functional in CityDesk :)

Mark Major
Wednesday, May 28, 2003

Wait.. so it DOES work and you just had a typo?  Or you made a typo in the discussion board, but it still doesn't work...?

I'm confused :)

Michael H. Pryor
Wednesday, May 28, 2003

Sorry :)

The local update definately doesn't work.  The typo only occured on the discussion board :)

Mark Major
Wednesday, May 28, 2003

We'll look into it. Probably a bug. :)

Joel Spolsky
Thursday, May 29, 2003

:) That would be handy


Mark Major
Thursday, May 29, 2003

*  Recent Topics

*  Fog Creek Home