# batch file nerds... need help. I'm a little rusty

**URL:** <https://forums.speedlife.net/t/batch-file-nerds-need-help-im-a-little-rusty/27718>\
**Category:** NYSpeed Off Topic\
**Created:** [April 16, 2007, 12:09pm UTC](https://forums.speedlife.net/t/batch-file-nerds-need-help-im-a-little-rusty/27718 "2007-04-16T12:09:38Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![JayS](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/jays/32/15375_2.png) [@JayS](https://forums.speedlife.net/u/JayS)\
**Post date:** [April 16, 2007, 12:47pm UTC](https://forums.speedlife.net/t/batch-file-nerds-need-help-im-a-little-rusty/27718/17 "2007-04-16T12:47:20Z")

</div>

Heh… I just tried this, copying notepad.exe to c:\program files  
ote pad  
otep.exe:

_ren c:\batch est1.txt test2.txt  
“c:\program files  
ote pad  
otep.exe”  
ren c:\batch est2.txt test1.txt_

And sure enough, the batch file does pause until I close notepad. While notepad is open, the txt file is “test2.txt”. As soon as I close it the batch file renames it “test1.txt”.

---

_[View the full topic](https://forums.speedlife.net/t/batch-file-nerds-need-help-im-a-little-rusty/27718)._
