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-20 18:59
中国DOS联盟论坛 » DOS软件下载 & 游戏分享 (下载室) » Discussion on func.exe and what.exe View 2,790 Replies 8
Original Poster Posted 2007-03-17 05:42 ·  中国 山西 运城 电信
中级用户
★★
Credits 241
Posts 131
Joined 2005-09-28 19:01
20-year member
UID 42920
Gender Male
Status Offline
Yesterday, when using GMY's one-click GHOST, I discovered a program: func.exe. Its function is quite powerful. For example: In pure DOS, using func.exe -e followed by the CD drive letter. For instance, if the CD drive is G, it is func.exe -e g to eject the CD drive. Using func.exe -l g can load the CD drive. And the parameter -x is the combination of the above. If the current CD drive is closed, it can eject the CD drive; if the CD drive is open, it can load the CD drive. Also, the parameter -r can restart the computer, and the parameter -s can shut down the computer. There is also a program what.exe. The specific usage method is still being studied. I hope everyone can post their experiences with these two programs to replace programs like shutdown, cdopen, and cdclose!

[ Last edited by maya0su on 2007-3-17 at 06:06 AM ]
Attachments
funcwhat.rar (11.67 KiB, Downloads: 126)
房东说:这娃是个好孩子!
Floor 2 Posted 2007-05-09 09:18 ·  中国 山东 济宁 联通
钻石会员
★★★★★
Credits 10,046
Posts 3,039
Joined 2002-11-11 00:00
23-year member
UID 223
Gender Male
Status Offline
It seems like a good thing. Hmm.
简单就是美
Floor 3 Posted 2007-11-13 08:37 ·  中国 广东 中山 电信
高级用户
★★★
Credits 940
Posts 374
Joined 2007-10-17 21:51
18-year member
UID 100011
Gender Male
From 湖南张家界
Status Offline
I finally know what func is for! It can also accept variables.
Floor 4 Posted 2007-11-22 22:35 ·  中国 河南 郑州 联通
初级用户
Credits 98
Posts 40
Joined 2007-11-17 02:54
18-year member
UID 102890
Gender Male
Status Offline
Has anyone tested it? Why isn't it working?
Floor 5 Posted 2008-04-01 18:28 ·  中国 广东 深圳 福田区 电信
初级用户
★★
Credits 188
Posts 96
Joined 2008-03-11 00:59
18-year member
UID 112592
Gender Male
Status Offline
Just passing through
Floor 6 Posted 2008-06-20 10:49 ·  中国 天津 联通
新手上路
Credits 2
Posts 1
Joined 2008-05-20 20:12
18-year member
UID 119235
Gender Male
Status Offline
Floor 7 Posted 2008-06-23 22:11 ·  中国 江苏 无锡 江阴市 电信
初级用户
★★
Credits 137
Posts 85
Joined 2007-11-26 21:05
18-year member
UID 103862
Gender Male
Status Offline
Floor 8 Posted 2010-11-09 19:02 ·  中国 广东 佛山 电信
初级用户
Credits 59
Posts 28
Joined 2010-11-05 01:45
15-year member
UID 177110
Gender Male
Status Offline
Good stuff
Floor 9 Posted 2010-12-20 15:01 ·  中国 四川 成都 电信
初级用户
Credits 92
Posts 23
Joined 2010-12-18 23:10
15-year member
UID 179495
Gender Male
From Chengdu
Status Offline
These are all batch processing auxiliary tools. You can combine various functions through batch files to achieve specific functions.
Forum Jump: