|
I am tracking down an odd effect from one of my scripts. After I run this rather complicated bach script, if I give an ls command it returnes only the command prompt, no files, no directories, no output of any sort. I stumbled accross a cure for this by trial and error. If I give the command "cd ." and further ls returnes the correct file list. I tried adding a cd . as the last line of the script but it didn't seem to fix the problem. What is happening that would disable ls What am I doing that would cause this effect.
Thanks Mike
|