for %a in (*) do ren "%~a" "prefix_%~a"The part of the command "prefix_" can be replaced with whatever prefix you want to swap with.
29 November 2012
Adding a prefix to all files in a directory using DOS
A quick way to prefix all files in the directory is to run this command from your shell in the directory where your files are:
Subscribe to:
Post Comments (Atom)
-
Azure Active Directory is a great product and is invaluable in the enterprise space. In this article we'll be setting it up to provide ...
-
There are so many different problems that people have with the Doctrine error message: exception 'Doctrine\ORM\ORMInvalidArgument...
-
While debugging and setting up Puppet I am still running the agent and master from CLI in --no-daemonize mode. I kept getting an error on...

No comments:
Post a comment
Note: only a member of this blog may post a comment.