Is it possible to use relative file paths? I can't find anything on this subject, but it appears that a full path is always needed.
I need to copy a file from an Install directory up one directory (to the App dir.). The problem is that my patch is in the Install dir. I can reference the source file with:
_SourceFolder .. "\\test.txt"
but how do I reference the destination dir? The source dir is:
C:\Program Files\WCP\Install
and the destination dir is:
C:\Program Files\WCP
The only solution I can think of (without being able to use relative paths) is to have the patch in C:\Program Files\WCP. Then I should be able to reference the Install dir with something like:
_SourceFolder .. "\\Install\\test.txt"
Any suggestions?
Thanks for any help,
Chuck
I need to copy a file from an Install directory up one directory (to the App dir.). The problem is that my patch is in the Install dir. I can reference the source file with:
_SourceFolder .. "\\test.txt"
but how do I reference the destination dir? The source dir is:
C:\Program Files\WCP\Install
and the destination dir is:
C:\Program Files\WCP
The only solution I can think of (without being able to use relative paths) is to have the patch in C:\Program Files\WCP. Then I should be able to reference the Install dir with something like:
_SourceFolder .. "\\Install\\test.txt"
Any suggestions?
Thanks for any help,
Chuck
Comment