L
Lowell Kirsh
I'm trying to write a simple file-copy script on Windows and I can't
figure out why it's not working. Here's part of what I have:
my $fromDir = "C:\\Documents and Settings\\user\\Application
Data\\Mozilla\\Profiles\\default\\iw2wx3e0.slt\\";
my $fromFile = "\"${fromDir}bookmarks.html\"";
Now, at this point, '-r $fromFile' returns false, but I know the file is
there because in the same script I put in 'system "cat $fromFile"' and
this print the contents to screen, proving the file is really there.
What am I doing wrong?
Lowell
figure out why it's not working. Here's part of what I have:
my $fromDir = "C:\\Documents and Settings\\user\\Application
Data\\Mozilla\\Profiles\\default\\iw2wx3e0.slt\\";
my $fromFile = "\"${fromDir}bookmarks.html\"";
Now, at this point, '-r $fromFile' returns false, but I know the file is
there because in the same script I put in 'system "cat $fromFile"' and
this print the contents to screen, proving the file is really there.
What am I doing wrong?
Lowell