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-26 01:31
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Renaming under DOS View 2,207 Replies 5
Original Poster Posted 2003-06-24 00:00 ·  加拿大 安大略省 多伦多
初级用户
Credits 103
Posts 1
Joined 2003-06-24 00:00
23-year member
UID 5816
Gender Male
Status Offline
What command do I use under DOS to expand a file with the extension .EX_ into one with the extension .EXE? Thanks. If any expert knows, please reply to my email. I would be extremely grateful!!

dmmasterok@hotmail.com


Floor 2 Posted 2003-06-24 00:00 ·  中国 安徽 合肥 电信
银牌会员
★★
三生缘里笑红尘
Credits 1,063
Posts 292
Joined 2003-03-09 00:00
23-year member
UID 1073
Gender Male
Status Offline
Use the “REN” command!!
REN *.EX_ *.EXE (note: there is a space in the middle)
Floor 3 Posted 2003-06-24 00:00 ·  中国 北京 丰台区 联通
高级用户
★★
Credits 546
Posts 135
Joined 2003-06-13 00:00
23-year member
UID 5077
Gender Male
Status Offline
EX_ files are compressed. Simply renaming them with RENAME still won't make them usable; you need to use EXPAND to decompress them.

EXPAND Source Destination
EXPAND -r Source
EXPAND -D Source.cab
EXPAND Source.cab -F:Files Destination

-r Renames expanded files.
-D Displays a list of files in the source.
Source Source file specification. Wildcards may be used.
-F:Files Name of the files to expand from the .CAB file.
Destination Destination file | path specification.
The destination can be a directory.
If the source is multiple files and -r is not specified,
then the destination must be a directory.
Floor 4 Posted 2003-06-25 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
waterz: do you have EXPAND?? Could you upload it??
MSN:tiqit2@hotmail.com
Floor 5 Posted 2003-06-25 00:00 ·  中国 广东 广州 番禺区 联通
中级用户
Credits 290
Posts 43
Joined 2003-03-19 00:00
23-year member
UID 1180
Gender Male
Status Offline
You just need to change the extension to .cab. Windows itself supports CAB.
Floor 6 Posted 2003-06-25 00:00 ·  中国 北京 联通
高级用户
★★
Credits 546
Posts 135
Joined 2003-06-13 00:00
23-year member
UID 5077
Gender Male
Status Offline
Open attachment
expand.exe
Forum Jump: