Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Rename question

09 Dec 2016   #1
born2achieve

windows7 64 bit
 
 
Rename question

I have bat file and i need to rename files in the folder of one server from another server.

Below the sample i tried and didn't work.
Code:
Ren "\\178.70.140.230\Development\Company\*.txt" "*.bak"
but it's not changing the extension Any suggestion please how to achieve this.


My System SpecsSystem Spec
.
09 Dec 2016   #2
Megahertz07

Windows 7 HP 64
 
 

Do you have the rights to do it on the remote computer?

Do a test
Create a Test folder on \\178.70.140.230\Development\Test
Create text files on that folder 1.txt, 2.txt, 3.txt etc
use the cmd Ren "\\178.70.140.230\Development\Test\*.txt" "*.bak"

I've used FreeCommander http://freecommander.com/en/summary/ to do a very complex name change. It's very good
My System SpecsSystem Spec
09 Dec 2016   #3
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Hi,

Born2achieve, if by server you mean another machine on the local network or another machine on the domain then that command should work given that you have appropriate rights and have connected to the machine with those rights prior to running the rename command. Though, the use of computer names rather than their IP addresses when referencing machines is more common as IP addresses may change depending on your network configurations.

If, instead, by server you mean internet server, then I don't think it works that way. Had it be that easy, the internet would be an insecure mess of anybody connecting and making and changes to anyone’s data.

If you wish to make changes to files on an internet server you must use some FTP program, such as Windows's FTP command, or SSH into the server using the credentials given to you by your hosting service. None of these methods would involve a "ren" command.


So what does your command represent, Born2achieve? A rename on a local network, a rename on a domain, or a rename on a internet server? The approach to each is different.
My System SpecsSystem Spec
.

Reply

 Rename question




Thread Tools




Similar help and support threads
Thread Forum
rename
How to change full name file fonts?
General Discussion
'Rename' box doesn't show up when I rename a file shortcut
So basically (I'll try to be descriptive), I have an Excel file (extension xlsm) on my USB and I right click it, send to --> desktop (create shortcut). I see the shortcut. I right click and attempt to rename it with a different file extension, but the 'Rename' box doesn't show up like I believe it...
General Discussion
Can't rename folders...
So I'm trying to rename my music folders, and I'm having an issues where it tell me no, that the folder is being used by another program. I've rebooted, disabled indexing, and no joy. There are no programs running that have anything to do with these folders. As a kicker, changing the view of the...
Software
Rename computer
Hi Gang I thought I would rename my computer so I did the procedure to change it and every time I clicked on change I got this little box. No matter how I would enter the name I wanted I would get this little box. I am not using an characters at all. This is what I am trying to put in "Dicks...
Network & Sharing
rename
Hi. How to rename Sources Folder or install.wim in windows 7 ?
Installation & Setup


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:51.
Twitter Facebook Google+