in reply to Directory checking on Windows XP
I have used -d (and many of the other file test operators) frequently on Windows systems and can assure you that they work. Perhaps you could post a little code that demonstrates the problem?
The most likely issue is that the file path you are testing is not relative to where you think it is. "Wibble/plonk.pl" refers to the file plonk.pl in the Wibble directory relative to the current working directory. (You might notice btw that Windows generally doesn't mind / being used in place of \.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Directory checking on Windows XP
by ack (Deacon) on Sep 22, 2008 at 05:53 UTC |