Batch file to rename files in a folder [on hold]











up vote
-5
down vote

favorite












I want to create a batch file in power shell to rename all files in a folder
I have files like



aaa_bbb_NUMERIC_ccc.pdf


And I want to rename it like



NUMERIC_aaa_bbb_ccc.pdf


Please help me out.










share|improve this question















put on hold as too broad by aschipfl, LotPings, Gerhard Barnard, Stephan, gnat Nov 19 at 12:29


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 2




    Fine. And what is your specific question? Please read the tour and learn How to Ask here!
    – aschipfl
    Nov 19 at 12:03










  • Yes, aschipfl is right, please share any code that you have so far. Also, please be more specific about the NUMERIC part: is it a fixed number of digits? Is it always after the second undersocre and/or after 8 chars?
    – Dávid Laczkó
    Nov 19 at 12:08










  • possible duplicate. another possible duplicate
    – Stephan
    Nov 19 at 12:14












  • i have file like AA_123_01_11_20170527.pdf and i want my renamed file as 11_AA_123_01_20170527 it is fixed that the numeric value after 3rd underscore will be picked and placed at the begning of file name
    – Nishant
    Nov 19 at 12:17












  • Please put your example in your comment to the question instead of the one that's there, as that is misguiding, you have more numeric values between underscores.
    – Dávid Laczkó
    Nov 19 at 16:46















up vote
-5
down vote

favorite












I want to create a batch file in power shell to rename all files in a folder
I have files like



aaa_bbb_NUMERIC_ccc.pdf


And I want to rename it like



NUMERIC_aaa_bbb_ccc.pdf


Please help me out.










share|improve this question















put on hold as too broad by aschipfl, LotPings, Gerhard Barnard, Stephan, gnat Nov 19 at 12:29


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 2




    Fine. And what is your specific question? Please read the tour and learn How to Ask here!
    – aschipfl
    Nov 19 at 12:03










  • Yes, aschipfl is right, please share any code that you have so far. Also, please be more specific about the NUMERIC part: is it a fixed number of digits? Is it always after the second undersocre and/or after 8 chars?
    – Dávid Laczkó
    Nov 19 at 12:08










  • possible duplicate. another possible duplicate
    – Stephan
    Nov 19 at 12:14












  • i have file like AA_123_01_11_20170527.pdf and i want my renamed file as 11_AA_123_01_20170527 it is fixed that the numeric value after 3rd underscore will be picked and placed at the begning of file name
    – Nishant
    Nov 19 at 12:17












  • Please put your example in your comment to the question instead of the one that's there, as that is misguiding, you have more numeric values between underscores.
    – Dávid Laczkó
    Nov 19 at 16:46













up vote
-5
down vote

favorite









up vote
-5
down vote

favorite











I want to create a batch file in power shell to rename all files in a folder
I have files like



aaa_bbb_NUMERIC_ccc.pdf


And I want to rename it like



NUMERIC_aaa_bbb_ccc.pdf


Please help me out.










share|improve this question















I want to create a batch file in power shell to rename all files in a folder
I have files like



aaa_bbb_NUMERIC_ccc.pdf


And I want to rename it like



NUMERIC_aaa_bbb_ccc.pdf


Please help me out.







powershell batch-file batch-rename






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









double-beep

9310




9310










asked Nov 19 at 12:01









Nishant

11




11




put on hold as too broad by aschipfl, LotPings, Gerhard Barnard, Stephan, gnat Nov 19 at 12:29


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






put on hold as too broad by aschipfl, LotPings, Gerhard Barnard, Stephan, gnat Nov 19 at 12:29


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 2




    Fine. And what is your specific question? Please read the tour and learn How to Ask here!
    – aschipfl
    Nov 19 at 12:03










  • Yes, aschipfl is right, please share any code that you have so far. Also, please be more specific about the NUMERIC part: is it a fixed number of digits? Is it always after the second undersocre and/or after 8 chars?
    – Dávid Laczkó
    Nov 19 at 12:08










  • possible duplicate. another possible duplicate
    – Stephan
    Nov 19 at 12:14












  • i have file like AA_123_01_11_20170527.pdf and i want my renamed file as 11_AA_123_01_20170527 it is fixed that the numeric value after 3rd underscore will be picked and placed at the begning of file name
    – Nishant
    Nov 19 at 12:17












  • Please put your example in your comment to the question instead of the one that's there, as that is misguiding, you have more numeric values between underscores.
    – Dávid Laczkó
    Nov 19 at 16:46














  • 2




    Fine. And what is your specific question? Please read the tour and learn How to Ask here!
    – aschipfl
    Nov 19 at 12:03










  • Yes, aschipfl is right, please share any code that you have so far. Also, please be more specific about the NUMERIC part: is it a fixed number of digits? Is it always after the second undersocre and/or after 8 chars?
    – Dávid Laczkó
    Nov 19 at 12:08










  • possible duplicate. another possible duplicate
    – Stephan
    Nov 19 at 12:14












  • i have file like AA_123_01_11_20170527.pdf and i want my renamed file as 11_AA_123_01_20170527 it is fixed that the numeric value after 3rd underscore will be picked and placed at the begning of file name
    – Nishant
    Nov 19 at 12:17












  • Please put your example in your comment to the question instead of the one that's there, as that is misguiding, you have more numeric values between underscores.
    – Dávid Laczkó
    Nov 19 at 16:46








2




2




Fine. And what is your specific question? Please read the tour and learn How to Ask here!
– aschipfl
Nov 19 at 12:03




Fine. And what is your specific question? Please read the tour and learn How to Ask here!
– aschipfl
Nov 19 at 12:03












Yes, aschipfl is right, please share any code that you have so far. Also, please be more specific about the NUMERIC part: is it a fixed number of digits? Is it always after the second undersocre and/or after 8 chars?
– Dávid Laczkó
Nov 19 at 12:08




Yes, aschipfl is right, please share any code that you have so far. Also, please be more specific about the NUMERIC part: is it a fixed number of digits? Is it always after the second undersocre and/or after 8 chars?
– Dávid Laczkó
Nov 19 at 12:08












possible duplicate. another possible duplicate
– Stephan
Nov 19 at 12:14






possible duplicate. another possible duplicate
– Stephan
Nov 19 at 12:14














i have file like AA_123_01_11_20170527.pdf and i want my renamed file as 11_AA_123_01_20170527 it is fixed that the numeric value after 3rd underscore will be picked and placed at the begning of file name
– Nishant
Nov 19 at 12:17






i have file like AA_123_01_11_20170527.pdf and i want my renamed file as 11_AA_123_01_20170527 it is fixed that the numeric value after 3rd underscore will be picked and placed at the begning of file name
– Nishant
Nov 19 at 12:17














Please put your example in your comment to the question instead of the one that's there, as that is misguiding, you have more numeric values between underscores.
– Dávid Laczkó
Nov 19 at 16:46




Please put your example in your comment to the question instead of the one that's there, as that is misguiding, you have more numeric values between underscores.
– Dávid Laczkó
Nov 19 at 16:46

















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

Npm cannot find a required file even through it is in the searched directory