in reply to Re: Windows folder access error ($^E)
in thread Windows folder access error

I can use "." as root folder, and the script works just fine.
I can also get to the folder from cmd using -
\Folders\1Folder\1aFolder
So, it's a valid path for windows. It seems like doesn't like the folder command.

Please let me know.
  • Comment on Re^2: Windows folder access error ($^E)

Replies are listed 'Best First'.
Re^3: Windows folder access error ($^E)
by perlron (Pilgrim) on Oct 24, 2014 at 18:01 UTC
    I can use "." as root folder, and the script works just fine.
    Can you rephrase what you mean by that and why u cannot use the "." in your script to rectify the (relative path) issue ? : Its obvious as anything the path/relative path is not getting resolved,for which you need to do the error checking mentioned above.
    are u running the script from cmd prompt ?
    if so what is the output of your pwd (present working directory)command ? and
    is ure script able to run in a non-windows environment(if you have the luxury of checking that)
    Do not wait to strike when the iron is hot! Make it hot by striking - WB Yeats