Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Windows folder access error ($^E)

by ArifS (Beadle)
on Oct 24, 2014 at 16:21 UTC ( [id://1104880]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1104880]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found