you must redirct output of tcl to file: rajamanjula@localhost dream]$ ns dream.tcl >>output.dat
-------------------------------------------- On Sun, 8/12/12, Manjula Raja <rajamanjulase...@gmail.com> wrote: Subject: [ns] error with ./output.dat To: ns-users@ISI.EDU Date: Sunday, August 12, 2012, 10:56 PM Hello friends! when i execute the following commnad rajamanjula@localhost dream]$ ns dream.tcl ./output.dat ./scen-300x600-50-10-5-00 i get the below mentioned error, can any one please give me the solution? couldn't open "./output.dat": permission denied while executing "open "$opt(tr)" w" invoked from within "set nt [open "$opt(tr)" w]" (file "dream.tcl" line 142) -- **R.Manjula Sr.Lecturer, Dept of ECE BITM, Bellary Karnataka. Current Status: Research Scholar Dept of E&ECE IIT Kharagpur Cell:08900479328 **