Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Issue with backticks in ActiveState

by pKai (Priest)
on Sep 08, 2009 at 21:15 UTC ( #794221=note: print w/ replies, xml ) Need Help??


in reply to Issue with backticks in ActiveState

You probably have a rmdir.exe somewhere in your PATH.
Check to verify: where rmdir.exe.

The rmdir, probably from the unxutils will not accept options with slashes, contrary to the cmd built-in rmdir.

A perl -e "`rmdir /s /q testdir`;" works flawless for me (no exe present here).


Comment on Re: Issue with backticks in ActiveState
Select or Download Code
Replies are listed 'Best First'.
Re^2: Issue with backticks in ActiveState
by freddo411 (Chaplain) on Sep 08, 2009 at 23:06 UTC
    You probably have a rmdir.exe somewhere in your PATH.

    Bingo. Thanks for pointing this out.

    -------------------------------------
    Nothing is too wonderful to be true
    -- Michael Faraday

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2015-07-08 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls