中国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-15 18:53
47,813 topics / 349,903 posts / today 1 new / 48,258 members
DOS疑难解答 & 问题讨论 (解答室) » Renaming under DOS
Printable Version  2,255 / 5
Floor1 dmmaster Posted 2003-06-24 00:00
初级用户 Posts 1 Credits 103
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


Floor2 pizigao Posted 2003-06-24 00:00
银牌会员 Posts 292 Credits 1,063
Use the “REN” command!!
REN *.EX_ *.EXE (note: there is a space in the middle)
Floor3 waterz Posted 2003-06-24 00:00
高级用户 Posts 135 Credits 546
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.
Floor4 Dark-Destroy Posted 2003-06-25 00:00
元老会员 Posts 3,551 Credits 8,312
waterz: do you have EXPAND?? Could you upload it??
Floor5 12345q Posted 2003-06-25 00:00
中级用户 Posts 43 Credits 290
You just need to change the extension to .cab. Windows itself supports CAB.
Floor6 waterz Posted 2003-06-25 00:00
高级用户 Posts 135 Credits 546
Open attachment
expand.exe
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023