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-07-15 00:25
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How to use start to open a file with a space in the path? View 4,342 Replies 6
Original Poster Posted 2007-01-12 23:27 ·  中国 上海 上海乾万网络(QianWan_Network)有限公司(电信出口)
初级用户
Credits 68
Posts 28
Joined 2006-12-29 00:55
19-year member
UID 74861
Gender Male
Status Offline
Why did I run start "%input%"\new\aa.txt, instead of opening this Notepad, but opening another cmd window, and the window just helped me navigate to the "%input%"\new\ path. Why is this happening, and what are the solutions?


──────────────── Moderation Record ────────────────
Performed by: namejm
Original title: A small question
Modified title: How to open a file with a path containing spaces using start?
Explanation: Because the original title was too vague, which was not convenient for forum search and management. After three days from the publication of this notice,
  the poster has not changed the title, so it is now forcibly modified by me, and 2 points of points are deducted from the poster.
──────────────── Moderation Record ────────────────


[ Last edited by namejm on 2007-1-17 at 09:59 PM ]
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
namejm -2 2007-01-18 11:00
Floor 2 Posted 2007-01-12 23:31 ·  中国 安徽 芜湖 电信
高级用户
★★
Credits 537
Posts 219
Joined 2006-10-31 21:08
19-year member
UID 69036
Gender Male
From 芜湖
Status Offline
start "" "%input%"\new\aa.txt
This might work
Floor 3 Posted 2007-01-12 23:37 ·  中国 上海 上海乾万网络(QianWan_Network)有限公司(电信出口)
初级用户
Credits 68
Posts 28
Joined 2006-12-29 00:55
19-year member
UID 74861
Gender Male
Status Offline
Floor 4 Posted 2007-09-03 23:57 ·  中国 广东 深圳 电信
新手上路
Credits 8
Posts 4
Joined 2007-09-03 23:35
18-year member
UID 96503
Gender Male
Status Offline
What does this mean?
Floor 5 Posted 2007-09-04 00:11 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
Floor 6 Posted 2007-12-11 02:40 ·  中国 广东 深圳 南山区 电信
新手上路
Credits 3
Posts 2
Joined 2007-12-11 02:16
18-year member
UID 105282
Gender Male
Status Offline
Originally posted by huzixuan at 2007-1-12 11:31 PM:
start "" "%input%"\new\aa.txt
This might work
Floor 7 Posted 2007-12-11 02:45 ·  中国 广东 珠海 香洲区 电信
新手上路
Credits 10
Posts 5
Joined 2007-12-11 01:55
18-year member
UID 105281
Gender Male
Status Offline
###
Originally posted by ljy0715 at 2007-12-11 02:40 AM:

Why add a pair of " after start?

START

"title" The title displayed in the window title bar. The path is in quotes, so set title to empty.
Forum Jump: