cd in scripting
Is there a way to copy a file that is not in the current folder that I am running my script from? I dont want to have to type out the entire path, just move from where I am.
Example the script file is in directory c:\hello\temp and there is a file in c:\hello\temp11 that I want to copy to the remote site. Is there a way to access this without typing the entire path? I tried ../temp11/filename.txt and many other combinations but this did not work.
Example the script file is in directory c:\hello\temp and there is a file in c:\hello\temp11 that I want to copy to the remote site. Is there a way to access this without typing the entire path? I tried ../temp11/filename.txt and many other combinations but this did not work.