Well there where some bugs your right:
1. Because your not using a propath.txt or project.ini
there's no need to ask for it to be closed.
 (fixed by closing File in the Block it is used).
2. Because your using Paths with spaces the script itself got the right Path,
but to run a Statement the Path have to be "enclosed" again (fixed on some
positions of run statements).
3. To be sure the refresh had created a new projectfile, this is checked and
ends with a warning if not.

New Link:
http://www.pspad.com/files/pspad/rozsireni/122-ProjRefresh.zip
:)
Greetings Holger

-- 
<http://forum.pspad.com/read.php?2,40942,40956>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem