# Create a button to enable autosize for current folder

**URL:** <https://resource.dopus.com/t/create-a-button-to-enable-autosize-for-current-folder/34638>\
**Category:** Help & Support\
**Created:** [February 14, 2020, 2:48am UTC](https://resource.dopus.com/t/create-a-button-to-enable-autosize-for-current-folder/34638 "2020-02-14T02:48:20Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [February 14, 2020, 3:28am UTC](https://resource.dopus.com/t/create-a-button-to-enable-autosize-for-current-folder/34638/4 "2020-02-14T03:28:02Z")

</div>

I think this does what you need:

> [@Tutorial video: Column resizing & folder formats](https://resource.dopus.com/t/tutorial-video-column-resizing-folder-formats/23208/6):
>
> Here it is (updated with tbone's improvements; see below): [Auto-Size All.dcf](https://resource.dopus.com/uploads/default/original/3X/1/4/14b0e387a7edcceb422af83b78496b49cd6c9031.dcf) (1.44 KB) Update: tbone has improved the script to work with column names that contain spaces, [here](https://resource.dopus.com/viewtopic.php?p=148368#p148368). I overlooked that, since none of the internal column names use spac…

---

_[View the full topic](https://resource.dopus.com/t/create-a-button-to-enable-autosize-for-current-folder/34638)._
