China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 11:21
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Batch rename files, keeping only the first 6 characters View 4,455 Replies 31
Floor 31 Posted 2009-06-05 00:29 ·  中国 江苏 苏州 电信
新手上路
Credits 1
Posts 1
Joined 2009-06-03 22:27
17-year member
UID 146637
Gender Male
Status Offline
Can I ask all the experts
Can we change 100 irregular file names (such as those with symbols or Chinese names) to 001~099.jpg?
Floor 32 Posted 2009-06-06 08:05 ·  中国 重庆 联通
初级用户
Credits 44
Posts 25
Joined 2007-03-25 00:24
19-year member
UID 82812
Gender Male
Status Offline
@echo off
for %%i in (.) do ren *.jpg ??????.jpg
pause

A simpler one, I'm a beginner, haha
Forum Jump: