# Rename PC file using Entire Connection

**URL:** <https://techcommunity.softwareag.com/t/rename-pc-file-using-entire-connection/80485>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Other-Addons, Natural-Related-Products, Terminal-Emulation-and-Screen-Scraping, Natural-on-Windows-Unix\
**Created:** [March 10, 2009, 10:21pm UTC](https://techcommunity.softwareag.com/t/rename-pc-file-using-entire-connection/80485 "2009-03-10T22:21:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luis\_B](https://avatars.discourse-cdn.com/v4/letter/l/bc79bd/32.png) [@Luis\_B](https://techcommunity.softwareag.com/u/Luis_B)\
**Post date:** [March 10, 2009, 10:21pm UTC](https://techcommunity.softwareag.com/t/rename-pc-file-using-entire-connection/80485/1 "2009-03-10T22:21:14Z")

</div>

Hi,

I’m trying to rename a file stored in my PC using Entire Connection but it seems don’t work neither the REN task provided nor using DOS commands.

I use this lines:

set control ‘+’  
close pc file 7  
move ‘REN file1.ext file2.ext’ to #com  
download pc file 7 command #com

I try this too:

move ‘DOS RENAME file1.ext file2.ext’ to #com

executing the task REN using Entire Connection menu (Utilities-\>Task List) neither works.

Deleting the same file is no problem with

move ‘DEL file1.ext’ to #com  
or  
move ‘DOS DELETE file1.ext’ to #com

Executing DEL task using Task List in the product menu works fine too.

I try this in following environments:  
Entire Connection 4.3.1 on win2000 sp4  
Entire Connection 4.5.1 on winXP sp3

file1.ext have read and write permission for all users

Regards

---

<div class="post-metadata">

**Author:** ![Norman\_Halter](https://avatars.discourse-cdn.com/v4/letter/n/a587f6/32.png) [@Norman\_Halter](https://techcommunity.softwareag.com/u/Norman_Halter)\
**Post date:** [March 10, 2009, 11:33pm UTC](https://techcommunity.softwareag.com/t/rename-pc-file-using-entire-connection/80485/2 "2009-03-10T23:33:45Z")

</div>

Hi Luis,

I have tried to reproduce your problem. All rename methods are working without problems on my Entire Connection 4.5.1 on Windows XP SP2. On another PC with Win XP SP2, I have tried the rename with Entire Connection 4.4.1Pl6 without any problems, too.

Regards,  
Norman

---

<div class="post-metadata">

**Author:** ![Luis\_B](https://avatars.discourse-cdn.com/v4/letter/l/bc79bd/32.png) [@Luis\_B](https://techcommunity.softwareag.com/u/Luis_B)\
**Post date:** [March 11, 2009, 2:12pm UTC](https://techcommunity.softwareag.com/t/rename-pc-file-using-entire-connection/80485/3 "2009-03-11T14:12:57Z")

</div>

Hi Norman,

Thanks for the quick response, it’s something strange, I’ve done some more test but rename still not working, all other tasks provided with the product or written by us works fine but at the moment I’m not able to rename the file.

Thanks any way, best regards,

Luis

---

<div class="post-metadata">

**Author:** ![Luis\_B](https://avatars.discourse-cdn.com/v4/letter/l/bc79bd/32.png) [@Luis\_B](https://techcommunity.softwareag.com/u/Luis_B)\
**Post date:** [March 11, 2009, 6:22pm UTC](https://techcommunity.softwareag.com/t/rename-pc-file-using-entire-connection/80485/4 "2009-03-11T18:22:36Z")

</div>

Hello again,

Tired of checking the REN task and DOS RENAME I tried using DOS COPY and DEL task in conjunction and everything works correctly. I can’t understand why the RENAME does not work but I don’t have more time to waste on this.

Thanks and best regards from Spain,

Luis

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:51pm UTC](https://techcommunity.softwareag.com/t/rename-pc-file-using-entire-connection/80485/5 "2021-04-02T14:51:39Z")

</div>


