I am trying to chop the directory path... What my code does is looks in a file to get the file names and ftp the files to the location in the path.
My path varies so I want to get it into a variable and cd to that dir and move the file there.
In the path c:/Programfile/Perl/test/temp.txt
How can I get c:/Programfile/Perl/test into a variable?
Any ideas.... Thanks