I am facing a problem when using a tcl custom command (in a software package which has tcl embedded in it):

```
*Custom_Command MyObjectType $ObjectName

```

The problem is that, occasionally, the object's name variable i.e. ObjectName may get a string (including space) as the name of the object; e.g. if it is a file name "`My File.txt`"
In such cases the command simply gives an error that there exists no object with such name.

If I remove space manually from the value assigned to `ObjectName` then the command works perfectly fine, however as soon as it encounters any string with a space the script terminates with an error, complaining that no object with this name exists. If I use the command: `puts $ObjectName` the result is: `{My File.txt}`.

Kindly guide me about any method to handle this problem.