perl -V:sh
sh='cmd /x /c';
D:\>perl -le"print `rmdir /?`"
rmdir: `/2': Invalid argument
D:\>perl -le"print `rmdir --help`"
Usage: rmdir [OPTION]... DIRECTORY...
Remove the DIRECTORY(ies), if they are empty.
--ignore-fail-on-non-empty
ignore each failure that is solely because a directo
+ry
is non-empty
-p, --parents remove DIRECTORY, then try to remove each directory
component of that path name. E.g., `rmdir -p a/b/c'
+ is
similar to `rmdir a/b/c a/b a'.
-v, --verbose output a diagnostic for every directory processed
--help display this help and exit
--version output version information and exit
Report bugs to <bug-coreutils@gnu.org>.
D:\>perl -le"print `cmd /x /c rmdir /?`"
Removes (deletes) a directory.
RMDIR [/S] [/Q] [drive:]path
RD [/S] [/Q] [drive:]path
/S Removes all directories and files in the specified directo
+ry
in addition to the directory itself. Used to remove a dir
+ectory
tree.
/Q Quiet mode, do not ask if ok to remove a directory tree wi
+th /S
perl -MExtUtils::Command -e rm_rf -- D:\sites\cust\7112\hosted\docs/cdm4\msoffice
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|