Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
614 views
in Technique[技术] by (71.8m points)

batch-file - 相同的启动命令,不同的结果(Same start command, different results)

I have a batch file containing

(我有一个包含的批处理文件)

start "" "https://translate.google.com/#view=home&op=translate&sl=en&tl=vi&text=I%20am%20Mina.%0AI%20am%20a%20student."

Gives the incorrect answer

(给出错误的答案)

I0am0Mina.starttransAI0am0a0student.

But starting the same from the command line, it gives the correct answer

(但是从命令行开始,它给出了正确的答案)

I am Mina.
I am a student.

Anyone can tell me what the batch file does`?

(任何人都可以告诉我批处理文件的功能吗?)

Thanks

(谢谢)

  ask by RealPommy translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Use this: start "" "https://translate.google.com/#view=home&op=translate&sl=en&tl=vi&text=I%%20am%%20Mina.%%0AI%%20am%%20a%%20student."

(使用此方法: start "" "https://translate.google.com/#view=home&op=translate&sl=en&tl=vi&text=I%%20am%%20Mina.%%0AI%%20am%%20a%%20student.")

.

(。)

You need to add an extra % to escape a % percent sign.

(您需要添加额外%逃脱%百分号。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...