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-08-13 20:06
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Online experts, please come in. How to run a file View 1,486 Replies 8
Original Poster Posted 2004-03-07 00:00 ·  中国 福建 泉州 晋江市 电信
初级用户
Credits 103
Posts 1
Joined 2004-03-07 00:00
22-year member
UID 19444
Gender Male
Status Offline
How to run an EXE file? Please give me some advice
Floor 2 Posted 2004-03-07 00:00 ·  中国 江苏 苏州 电信
初级用户
Credits 264
Posts 36
Joined 2004-01-12 00:00
22-year member
UID 15361
Gender Female
Status Offline
Just enter the file name and press the Enter key.
Floor 3 Posted 2004-03-08 00:00 ·  中国 安徽 合肥 电信
初级用户
Credits 112
Posts 2
Joined 2004-02-29 00:00
22-year member
UID 18833
Gender Male
Status Offline
Floor 4 Posted 2006-10-14 09:43 ·  中国 河南 安阳 电信
初级用户
Credits 39
Posts 15
Joined 2006-10-14 07:42
19-year member
UID 65719
Status Offline
Yeah, if it's not a system thing, you need to set the path.
Floor 5 Posted 2006-10-14 10:45 ·  中国 湖南 娄底 新化县 电信
银牌会员
★★★
Credits 1,218
Posts 485
Joined 2006-07-21 21:24
20-year member
UID 58987
From 湖南.娄底
Status Offline
In DOS, I usually use two methods to open files:

1. Directly input the file path and name. For example, "c:\windows\config.exe" (For executable files, you don't need to input the suffix, but be very careful. If not done properly, it may execute other programs, such as com. To prevent misoperation or opening viruses, it's best to bring the complete path and suffix).

2. start, which is a way very liked in batch processing. The advantage is that when opening a file or running an executable program, you don't need to wait for them to close before exiting. The usage is the same as the first method; you just need to add "start " in front.

When the path has spaces, you must enclose the entire path with double quotes. For safety, it's recommended to enclose all paths with quotes.
Floor 6 Posted 2006-10-14 11:07 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 7 Posted 2006-10-19 09:20 ·  中国 辽宁 沈阳 中移铁通
新手上路
Credits 8
Posts 4
Joined 2006-10-18 22:53
19-year member
UID 66564
Status Offline
copy con a.bat
xxxx.exe
F6
a:)
Floor 8 Posted 2006-10-19 09:34 ·  中国 广东 惠州 惠城区 电信
初级用户
Credits 42
Posts 22
Joined 2006-10-19 05:35
19-year member
UID 66733
Gender Male
Status Offline
Floor 9 Posted 2006-10-21 03:54 ·  中国 四川 成都 电信
初级用户
Credits 111
Posts 4
Joined 2004-01-22 00:00
22-year member
UID 15911
Gender Male
Status Offline
Learned another trick, thanks
Forum Jump: