What is the command to use to look at files in a different directory. I am writing a program that will analyze files in a directory, but the code that I have only analyzes the files in the current working directory. if i'm running my program from one directory, what is the code so that I can specify a pathname for the directory I wish to analyze.
i.e. i run my program from 'maindirectory' and i want to anaylze the contents of 'childdirectory'
Thanks!
i.e. i run my program from 'maindirectory' and i want to anaylze the contents of 'childdirectory'
Thanks!