Appending Directory Path to Statement

(imported topic written by SystemAdmin)

How can I append a path to the question:

pathname of system x32 folder

I get “C:\Windows\system32” but I need to have it read:

pathname of system x32 folder"\drivers\etc"

Here is the clause I’m trying to get to work:

exists file “hosts” whose (exists line whose (it contains “tivdmb”) of it) of folder (pathname of system x32 folder)"\drivers\etc"

Thanks!

(imported comment written by SystemAdmin)

I Found it:

Q:concatenation of (pathname of system x32 folder) & “\drivers\etc”

A: C:\Windows\system32\drivers\etc

Now, how can I use that in my original statement:

Q:exists file “hosts” whose (exists line whose (it contains “tivdmb”) of it) of folder (concatenation of (pathname of system x32 folder) & “\drivers\etc”)

E: Singular expression refers to nonexistent object.

(imported comment written by SystemAdmin)

This is for Windows 7 and XP