中国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-13 21:04
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » Online experts, please come in. How to run a file
Printable Version  1,488 / 8
Floor1 gaxiangfa Posted 2004-03-07 00:00
初级用户 Posts 1 Credits 103
How to run an EXE file? Please give me some advice
Floor2 越曲芳香 Posted 2004-03-07 00:00
初级用户 Posts 36 Credits 264
Just enter the file name and press the Enter key.
Floor3 amonsonic Posted 2004-03-08 00:00
初级用户 Posts 2 Credits 112
Floor4 mydoslg Posted 2006-10-14 09:43
初级用户 Posts 15 Credits 39
Yeah, if it's not a system thing, you need to set the path.
Floor5 pengfei Posted 2006-10-14 10:45
银牌会员 Posts 485 Credits 1,218 From 湖南.娄底
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.
Floor6 electronixtar Posted 2006-10-14 11:07
铂金会员 Posts 2,672 Credits 7,493
Floor7 hxr517 Posted 2006-10-19 09:20
新手上路 Posts 4 Credits 8
copy con a.bat
xxxx.exe
F6
a:)
Floor8 nxcgh2006 Posted 2006-10-19 09:34
初级用户 Posts 22 Credits 42
Floor9 lxhjohn Posted 2006-10-21 03:54
初级用户 Posts 4 Credits 111
Learned another trick, thanks
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023