how about enclosing the path in CHR(34), so you can try macro substitution?
Armin
>Hi Mark, > ><>set resource to &cOldresource>> > >Thank's I'll try that. But because the var "cOldresource" contains the file including drive and path it would fail if there are chr(32) contained in the path. > >Regards > >Thomas
Armin Neudert Regional Director (Stuttgart) of German FoxPro User Group dFPUG