Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

thread782-1258811 1

Status
Not open for further replies.

jpdmdc

Programmer
Mar 10, 2005
115
Hi,

I would need the code to change a .txt file to .old file. Please help if anyone of you got it.

Thank you!
 
In a batch file or at a dos prompt use the following code;

ren \\servername\path\filename.txt \\servername\path\filename.old
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top