Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

POSIX rm.exe command

7 views
Skip to first unread message

Robert Ferraro

unread,
Mar 8, 2005, 9:41:17 AM3/8/05
to
Regarding mal-formed directories, the following Microsoft web page suggests:

"You can delete (unlink) these files using a simple, native POSIX program.
For example, the Windows Resource Kit includes such a tool, Rm.exe."

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q120716

Is the Rm.exe program available separately for download? If not, where can
we download the resource kit from?


TIA,

Robert Ferraro.


h.wulff

unread,
Mar 8, 2005, 11:36:21 AM3/8/05
to
Hello,

I don't know why it has to be a native posix program, because posix uses
win32 subsystem. Anyway, I don't know where to get posix programs. You
can get (win32) rm.exe here:

http://unxutils.sourceforge.net/

In article <#sIc6x#IFHA...@TK2MSFTNGP14.phx.gbl>, no...@nowhere.nothing
says...

--

h.wulff
[dont send me an email]

John John

unread,
Mar 8, 2005, 11:50:56 AM3/8/05
to
The posix utilities are available here:
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/

Look in the nt3xx files, read the enclosed readme files for more
information. For your information it's not in the nt4 folder or reskit
available there. Other than that it is also in the Windows Services for
Unix but that is a huge 220 plus MB download.

John

Robert Ferraro

unread,
Mar 8, 2005, 12:28:20 PM3/8/05
to
Hi h,

Thank for replying, I downloaded UnxUtils.zip.

I'm trying to delete a mal-formed directory; according to the Microsoft
instructions, the rm.exe command should do it -- but it doesn't,
unfortunately.

I inadvertently created a subdirectory that looks like this:

root
bad dir..

And bad dir.. just won't go away! <g>


- Robert.


"h.wulff" <zuh...@aol.com> wrote in message
news:MPG.1c97f2f15...@news.t-online.de...

h.wulff

unread,
Mar 8, 2005, 2:59:51 PM3/8/05
to
Hello,

I don't know what happend to your system, but it sounds strange! :P

If no process has an open handle to that bad dir, you should be able to
delete the dir. What is the error message?

I could delete everything so far with the rm.exe. At least the command

rm -R root

should do it. But be careful: "-R" means root and all sub dir are
deleted!

In article <eDfURPAJ...@TK2MSFTNGP10.phx.gbl>, no...@nowhere.nothing
says...


> Hi h,
>
> Thank for replying, I downloaded UnxUtils.zip.
>
> I'm trying to delete a mal-formed directory; according to the Microsoft
> instructions, the rm.exe command should do it -- but it doesn't,
> unfortunately.
>
> I inadvertently created a subdirectory that looks like this:
>
> root
> bad dir..
>
> And bad dir.. just won't go away! <g>
>
>
> - Robert.
>
>

--

Robert Ferraro

unread,
Mar 8, 2005, 4:11:51 PM3/8/05
to
Hi John,

Thanks very much for the link. I was able to use rm.exe to remove the
mal-formed directories.

I did learn you can't run this command from an XP machine--I ran it from a
networked nt2000, and finally it worked.

Best regards,

Robert.

"John John" <aude...@nbnet.nb.ca> wrote in message
news:OGaxQ8$IFHA...@TK2MSFTNGP12.phx.gbl...

0 new messages