Hi all,
\nNice to join the group. I need your help to create a PowerShell script.<\/p>\n
I want to rename files in subdirectories, with sum delta value to the current one.<\/p>\n
The filenames contain 20 digits as below:<\/p>\n
00000000000000000010.txt<\/p>\n
00000000000000000100.txt<\/p>\n
00000000000000003000.txt<\/p>\n
00000000000000003500.txt<\/p>\n
I need to sum delta value 300 to all files:<\/p>\n
00000000000000000310.txt<\/p>\n
00000000000000000400.txt<\/p>\n
00000000000000003300.txt<\/p>\n
00000000000000003800.txt<\/p>\n
Thanks in advance!<\/p>","upvoteCount":1,"answerCount":3,"datePublished":"2020-05-21T16:04:35.000Z","author":{"@type":"Person","name":"spiceuser-y8c9k","url":"https://community.spiceworks.com/u/spiceuser-y8c9k"},"suggestedAnswer":[{"@type":"Answer","text":"
Hi all,
\nNice to join the group. I need your help to create a PowerShell script.<\/p>\n
I want to rename files in subdirectories, with sum delta value to the current one.<\/p>\n
The filenames contain 20 digits as below:<\/p>\n
00000000000000000010.txt<\/p>\n
00000000000000000100.txt<\/p>\n
00000000000000003000.txt<\/p>\n
00000000000000003500.txt<\/p>\n
I need to sum delta value 300 to all files:<\/p>\n
00000000000000000310.txt<\/p>\n
00000000000000000400.txt<\/p>\n
00000000000000003300.txt<\/p>\n
00000000000000003800.txt<\/p>\n
Thanks in advance!<\/p>","upvoteCount":1,"datePublished":"2020-05-21T16:04:35.000Z","url":"https://community.spiceworks.com/t/rename-numeric-filename-with-sum-value-in-powershell/763524/1","author":{"@type":"Person","name":"spiceuser-y8c9k","url":"https://community.spiceworks.com/u/spiceuser-y8c9k"}},{"@type":"Answer","text":"