Thanks for your reply Les. It doesn't seem as though the wildcard works on Kixtart 4.22 either, or "passing a blank" to the command as you had mentioned. Is that expected or am I possibly doing something wrong?

For testing purposes I am only creating a temporary script and adding the command in the script without using any variable to store it in and it doesn't seem to be working, although I am using XP which may be the cause.

I will look into the UDF library to see what functions are available also.