Renaming files that start with

I've created a batch script to automatically update some files using wget for Windows. It downloads a file with a version number in the filename, for example server-2.0.exe. I want to automatically rename the file to server.exe.

Answers


I think that wget has the option directly in its commands.

--output-document=file

This might do what you want, depending on how variable the filenames are:

ren C:\server*.exe server.exe

Need Your Help

How to make atomic group work with alternations in java regex?

java regex

I have seen simple demo of atomic group. The regex :

How to avoid notices in my page php?

php html

I'm developping a page web with html and php but when i run my code i obtain notices in my page like this

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.