問題タブ [zero-padding]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
84 参照

windows - ディレクトリの名前を変更して先頭にゼロを埋め込む方法

複数のフォルダの名前をバッチで変更する方法を探しています。基本的に、先頭にゼロを埋め込んで6桁にする必要があります

例:

123 ---> 000123

22 -> 000022

5678 --> 005678

私がそれを行う方法を知っている唯一の方法は次のとおりです。

助けてください。どんな方向でも感謝しますありがとう