I created a tcl
file in a directory and I want to source another tcl
file located not in a same directory.
The first file is in the /home/ubuntu/ns/ns-allinone-2.35/ns-2.35
, the second one is in the /home/ubuntu/ns/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/setdest
.
I want to execute :source "home/ubuntu/ns/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/setdest/mob.tcl"
.
As soon as I do this, I get the following error:
couldn't read file "home/ubuntu/ns/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/setdest/mob.tcl": no such file or directory
while executing "source.orig home/ubuntu/ns/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/setdest/mob.tcl"
("uplevel" body line 1)