# \#file-size

**URL:** https://tech-community.robotics.abb.com/tag/file-size/557.md

[Latest](https://tech-community.robotics.abb.com/latest.md) · [Categories](https://tech-community.robotics.abb.com/categories.md) · [Tags](https://tech-community.robotics.abb.com/tags.md)

---

## [Using Event Routine for Renaming Text Files. Renaming Not Working. Code Included.](https://tech-community.robotics.abb.com/t/using-event-routine-for-renaming-text-files-renaming-not-working-code-included/7762)

<div class="topic-metadata">

**Author:** [@nezzreth](https://tech-community.robotics.abb.com/u/nezzreth)\
**Replies:** 2\
**Last updated:** [June 9, 2017, 12:17am UTC](https://tech-community.robotics.abb.com/t/using-event-routine-for-renaming-text-files-renaming-not-working-code-included/7762 "2017-06-09T00:17:37Z")

</div>

I’m trying to use an event routine to check a directory for any text files over 4kb. If it finds a file matching that description I want to move and rename the file with the date as part of the name. I keep running into …
