<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Emily,<div><br></div><div>Please try commands below and see which one works best for you. Make sure to backup files in case rename command does something wrong.<br><div><br></div><div>ren Play_T33_CCX_*_*.cha Play_T33_CCX_*.cha</div><div><br></div><div>ren *X_*_*.cha *X_*.cha</div><div><br></div><div>ren *_*_*_*_*.cha *_*_*_*.cha<br id="lineBreakAtBeginningOfMessage"><div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Arial; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class="Apple-interchange-newline"><br></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Arial; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">Leonid.</div>

</div>
<div><br><blockquote type="cite"><div>On May 20, 2025, at 14:04, Emily Harrington <emily.kae.harrington@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div>Hello,<br><div><br></div><div>I am trying to rename CHAT files to have consistent file names. However, I am struggling to get the ren command to do this. </div><div><br></div><div>Here are examples of the file names:</div><div>Play_T33_CCX_1002_cc.sltin.cha<br></div><div>Play_T33_CCX_1011_video_z.sltin.cha<br></div><div>PLAY_T33_CCX_1062_video_z.cha</div><div><br></div><div>Ideally, I'd like all files to be named Play_T33_CCX_#### where the #### is the unique identifier for that participant. This would remove the extra information after the unique identifier which differs across the file names. </div><div><br></div><div>Is there a way to do this as a batch? </div><div><br></div><div>Thank you,</div><div><br></div><div>Emily Harrington, PhD, CCC-SLP</div><div>University of Illinois Urbana-Champaign </div><div><br></div><div><br class="webkit-block-placeholder"></div>

-- <br>
You received this message because you are subscribed to the Google Groups "chibolts" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com">chibolts+unsubscribe@googlegroups.com</a>.<br>
To view this discussion visit <a href="https://groups.google.com/d/msgid/chibolts/dc147b9b-35f6-4b83-82b9-748890f07f6cn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/dc147b9b-35f6-4b83-82b9-748890f07f6cn%40googlegroups.com</a>.<br>
</div></blockquote></div><br></div></div></body></html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "chibolts" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com">chibolts+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href="https://groups.google.com/d/msgid/chibolts/9F0AC7A1-E264-42F4-A50E-655B26B5275A%40andrew.cmu.edu?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/9F0AC7A1-E264-42F4-A50E-655B26B5275A%40andrew.cmu.edu</a>.<br />