in reply to single quote problem with system()

You should use backslashes on the meta characters, like this:
'\\*.std\\*'