Thanks Xavier, It works. I'm using the syntax in batchfiles. % signs has then to be %%. Simon
Simon Romijn
Xavier Roche
Created with FORUM 2.0.11