# Rdoc under Windows: --exclude pattern

**URL:** <https://www.ruby-forum.com/t/rdoc-under-windows-exclude-pattern/63413>\
**Category:** Ruby\
**Created:** [January 20, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/rdoc-under-windows-exclude-pattern/63413 "2006-01-20T15:31:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Burkhard\_Boerner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@Burkhard\_Boerner](https://www.ruby-forum.com/u/Burkhard_Boerner)\
**Post date:** [January 20, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/rdoc-under-windows-exclude-pattern/63413/1 "2006-01-20T15:31:09Z")

</div>

Hello,

I need a little help:  
under UNIX the pattern for the --exclude option works well  
( --exclude /base|hidden/ ),  
but under Windows (Batch-File) ==\> “hidden is not a command …”

Can someone me help to write a correct pattern working under Windows?

regards

Burkhard

---

<div class="post-metadata">

**Author:** ![Burkhard\_Boerner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e9c0ed/32.png) [@Burkhard\_Boerner](https://www.ruby-forum.com/u/Burkhard_Boerner)\
**Post date:** [January 22, 2006, 2:41pm UTC](https://www.ruby-forum.com/t/rdoc-under-windows-exclude-pattern/63413/2 "2006-01-22T14:41:10Z")

</div>

Hi,

At Fri, 20 Jan 2006 22:53:54 +0900,  
Burkhard Boerner wrote in [ruby-talk:176254]:

> I need a little help:  
> under UNIX the pattern for the --exclude option works well  
> ( --exclude /base|hidden/ ),  
> but under Windows (Batch-File) ==\> “hidden is not a command …”

–exclude “base|hidden”  
or  
–exclude base --exclude hidden
