中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-09 07:03
47,811 topics / 349,895 posts / today 0 new / 48,253 members
DOS批处理 & 脚本技术(批处理室) » How do I add an extension to files that don't have one?
Printable Version  2,037 / 15
Floor1 yywd Posted 2008-07-12 13:21
中级用户 Posts 130 Credits 358
Floor2 bat-zw Posted 2008-07-12 13:24
金牌会员 Posts 1,276 Credits 3,105


[ Last edited by zw19750516 on 2008-7-12 at 01:45 PM ]
Floor3 yywd Posted 2008-07-12 13:40
中级用户 Posts 130 Credits 358
Originally posted by zw19750516 at 2008-7-12 13:24:


Thanks for your reply, but it doesn't seem to work
Floor4 bat-zw Posted 2008-07-12 13:42
金牌会员 Posts 1,276 Credits 3,105
Originally posted by yywd at 2008-7-12 13:40:


Thanks for your reply, but it doesn't seem to work

Where are you running it from?
Try this:

ps: the beginning of post #2 was written wrong, I've corrected it. OP, please change 盘符: to the actual drive letter.

[ Last edited by zw19750516 on 2008-7-12 at 01:47 PM ]
Floor5 HAT Posted 2008-07-12 13:46
版主 Posts 5,017 Credits 9,023
Q: Why doesn't it work?
A: Go find the phone number of some old army doctor on a utility pole; he specializes in treating that and guarantees a cure. If the treatment cycle is a bit long, I suggest listing your test environment, test cases, and error messages so everyone can help you solve the problem.
Floor6 yywd Posted 2008-07-12 14:10
中级用户 Posts 130 Credits 358
Originally posted by zw19750516 at 2008-7-12 13:42:

Where did you put it to run?
Try this:

ps: the one in post #2 ...


s.h.e-talking vi got changed to s.h.wma
Jiangnan Sentiment s.h.e Ⅱ got changed to Jiangnan Sentiment s.h.wma
s.h.e-Jiangnan Sentiment intro did not change
Floor7 hackerscans Posted 2008-07-12 14:18
初级用户 Posts 51 Credits 73
In folder properties, turn off the option to hide extensions, then refresh and see whether they have extensions. The way it is for you, with some music files seeming to have extensions and some not, I guess it's probably caused by hidden extensions...
Floor8 bat-zw Posted 2008-07-12 14:20
金牌会员 Posts 1,276 Credits 3,105
I understand now, the problem is with the . in s.h.e. This should work now, right:


[ Last edited by zw19750516 on 2008-7-12 at 02:25 PM ]
Floor9 yywd Posted 2008-07-12 14:32
中级用户 Posts 130 Credits 358
Originally posted by zw19750516 at 2008-7-12 14:20:
I understand now, the problem is with the . in s.h.e. This should work now, right:
Floor10 slore Posted 2008-07-12 14:35
铂金会员 Posts 2,478 Credits 5,212
Are there files other than wma? If not, then just do a plain dir and change the ones without extensions, don't worry about SHE
Floor11 26933062 Posted 2008-07-12 14:59
银牌会员 Posts 879 Credits 2,268
Floor12 fastslz Posted 2008-07-12 15:03
铂金会员 Posts 2,315 Credits 5,493 From 上海
Floor13 fastslz Posted 2008-07-12 15:08
铂金会员 Posts 2,315 Credits 5,493 From 上海
26933062 and I replied almost at the same time, so I deleted my own post. But after brother 26933062 corrects it, it should be changing if /i not ren to move /y


[ Last edited by fastslz on 2008-7-12 at 03:13 PM ]
Floor14 26933062 Posted 2008-07-12 15:10
银牌会员 Posts 879 Credits 2,268
Thanks for the reminder, corrected
To be this careless is really unforgivable!...
Floor15 fastslz Posted 2008-07-12 15:24
铂金会员 Posts 2,315 Credits 5,493 From 上海
Another method
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023