| ECS-L Home Automation and Security Archives |
| Subject: From: Date: | Re: [ECS] full path name Richard Yee Fri, 05 Mar 1999 07:39:53 -0800 |
Try spelling out the entire path to the file name. Not just .\TXT\TXT3.TXT, but C:\WHATEVER\TXT\TXT3.TXT. If the pathname is too long, you can subst a drive for that directory. subst t: c:\whatever\txt then you can use @T:\TXT3.TXT richard dastorey wrote: > > I am having Trouble assigning a full path name for a file to a text item. > The following two events are what I am doing that works, the third is what I > want to do but haven't been able to make work. > > |Event: speak status Called ?:Yes > | Do file number Set 120 > | Do Event-Call Set file to speech > | Do Text-A T1<-Stt Chat level > | Do Text-A Set Speak->VC > | End > |Event: file to speech Called ?:Yes > | Do Text-A Set Re-Define Text > | Do Text-A Set @ > | Do Text-A Set T > | Do Text-A Set X > | Do Text-A Set T > | Do Text-A T1/A<-Stt file number > | Do Text-A Set . > | Do Text-A Set T > | Do Text-A Set X > | Do Text-A Set T > | Do Text-A Set Speak->VC > | > | End > > The above works great I do most of my talking this way rather than making > 40.000 text items. What I want to do is move all of my text file into a sub > directory. However I can not seem to specify a full path name and make it > work. The following for example does not work. Is there a way I can make > it work? > > |Event: file to speech Called ?:Yes > | Do Text-A Set Re-Define Text > | Do Text-A Set @ > | Do Text-A Set . > | Do Text-A Set \ > | Do Text-A Set T > | Do Text-A Set X > | Do Text-A Set T > | Do Text-A Set \ > | Do Text-A Set T > | Do Text-A Set X > | Do Text-A Set T > | Do Text-A T1/A<-Stt file number > | Do Text-A Set . > | Do Text-A Set T > | Do Text-A Set X > | Do Text-A Set T > | Do Text-A Set Speak->VC > | > | End