# Rename command with TO and CASE arguments

**URL:** <https://resource.dopus.com/t/rename-command-with-to-and-case-arguments/29944>\
**Category:** Help & Support\
**Created:** [September 19, 2018, 2:36pm UTC](https://resource.dopus.com/t/rename-command-with-to-and-case-arguments/29944 "2018-09-19T14:36:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlbatorV](https://resource.dopus.com/user_avatar/resource.dopus.com/albatorv/32/25847_2.png) [@AlbatorV](https://resource.dopus.com/u/AlbatorV)\
**Post date:** [September 19, 2018, 2:36pm UTC](https://resource.dopus.com/t/rename-command-with-to-and-case-arguments/29944/1 "2018-09-19T14:36:07Z")

</div>

I create vbscript to rename parent folder with part of selected file name and I notice that if I have Rename command with TO and CASE arguments, arguments are forgotten.

After some others test, I found 2 simple commands examples...

Rename TO=test CASE=allwords

Rename TO={sourcepath|nopath|noterm} IGNOREEXT CASE=allwords

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [September 21, 2018, 1:57am UTC](https://resource.dopus.com/t/rename-command-with-to-and-case-arguments/29944/2 "2018-09-21T01:57:45Z")

</div>

It works if you add `PATTERN=*`:

```nohighlight
Rename PATTERN=* TO={sourcepath|nopath|noterm} IGNOREEXT CASE=allwords

```
