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
Can't rename folder
I have three folders for backup on an external HDD: 'C Drive', 'D Drive' and 'E Drive'. Every time I go back to the HDD the folder 'E Drive' has been renamed 'My Documents' and the icon has changed from my choice to a Windows generic one. If I try to rename it 'E Drive' from within the Properties...
General Discussion
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
rename
Hi. How to rename Sources Folder or install.wim in windows 7 ?
Installation & Setup
Can't rename computer
I have Win7 Enterprise and I changed the computer name using the usual "right click, my comp..." and so on. I reboot and the name is changed, I checked by returning to the place where I changed it. The problem in the old name is still on the top when I open up the start menu. What's up here? It...
General Discussion
Can't Rename folders on my USB
Hi, Here is the problem: I open my USB drive from My Computer, add a new folder, right click it and select rename. after typing the new name, i hit wnter, then, Wham!!, W7 shuts down and reboots. This is hapening with all USB drives I put into the PC. Have I missed a setting or something in W7...
General Discussion


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 16:30.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App