> C:/wwwroot/myname.com/components/abc.cfc
^^^
Here is your problem. You have a "." in the name of your folder.
CreateObject() uses the dot instead of a / to determine the folder levels.
So create object thinks your path is this:
/myname/com/components/abc.cfc
when in fact your path is this...
/myname.com/components/abc.cfc
** You can resolve the issue by changing the name of the folder so it does not have the dot in the name
> it shows nothing means nothing
Not possible. You probably just don't have it displaying somehow.
You could add some text around it like this, that way you know if you are seeing it or not...
<h1><cfoutput>ROOT PATH IS #ExpandPath("/")#</cfoutput></h1>