Hi everyone --
I'm using FileCopy to move files around between the local computer and shared network drives.
So I might want something that looks like this:
FileCopy "c:\path\file.txt", "s:\path\file.txt"
One
challenge is that I seem to need to use "\\" to specify the path when
I'm working with shared network drives. So it ends up looking like:
FileCopy "c:\path\file.txt", "s:\\path\\file.txt"
This works just fine. The problem is that everything is very dynamic
and paths are specified with variables that all originate with CurDir$,
which contains a bunch of instances of "\".
My question is this:
How can I use Ebasic commands to replace all instances of "\" within a
given variable with "\\"? I've started playing around with Mid$ and I
think I could work it out, but it seems like there's got to be an easier
way.
Thanks in advance.
--Jeff