# Windows system("@rem") behavior

**URL:** <https://www.ruby-forum.com/t/windows-system-rem-behavior/203032>\
**Category:** Ruby\
**Created:** [February 10, 2011, 9:54pm UTC](https://www.ruby-forum.com/t/windows-system-rem-behavior/203032 "2011-02-10T21:54:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 10, 2011, 9:54pm UTC](https://www.ruby-forum.com/t/windows-system-rem-behavior/203032/1 "2011-02-10T21:54:41Z")

</div>

Hello all.  
Noticed this in doze:

> > system(“rem echo 3”)  
> > =\> true

which is expected, I think (rem makes it passed out to dos, dos ignores  
the line).

Then this also occurs:

> > system("@rem echo 3")  
> > =\> nil

I believe this “should” have been true as well (and is, at least in  
python). Any comments here?  
Thanks!  
-r

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [February 17, 2011, 9:27pm UTC](https://www.ruby-forum.com/t/windows-system-rem-behavior/203032/2 "2011-02-17T21:27:03Z")

</div>

This bug has been since fixed in trunk.

[http://www.ruby-forum.com/topic/1076501#new](http://www.ruby-forum.com/topic/1076501#new)
