I'm using SQL 2000.
My variables are:
C:\Program Files\Microsoft SQL Server\MSSQL\Dataand
C:\restore
but I expect that's fairly typical.
Alas running that query the data is truncated.
Changing the (FEntry,40,len(FEntry) to (FEntry,37,len(FEntry) seemed to fix things,...