Renaming files with ms dos

Hello, I wanted to know how to get rid of the redundant first part of a series of file names using an ms-dos command. Here's an example:

2010a123456.txt
2010a563214.txt
2010a852147.txt
2010a341256.txt

should become:
123456.txt
563214.txt
852147.txt
341256.txt

the redundant part being 2010a. Thank you very much.


Comments

  • I offer two solutions:

    Use a "BAT" (I got this program with a friend).

    [code]@echo off
    setlocal enabledelayedexpansion
    set deletestring=[2010a]
    echo Pronto para Come
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion