我需要传递命令参数与批处理文件。我会怎么做?我有一个小程序设置,但我不知道如何获得命令参数..或者真的如何做一个命令。传递命令参数批量
@echo OFF
title Name pl0x
color 0a
:start
set INPUT=
set /P INPUT= %=%
IF "%INPUT%"=="/mynameis" (
goto :init
) ELSE (
goto :start
)
:init
Pause&Exit
REM Here, I'd print the name, like this: echo.Hello, %name%
REM I just don't have the variable. And I don't know how to set it.
如果我解决了这个或你的最后一个问题记得用接受按钮来接受我的答案,谢谢。 – ElektroStudios 2013-04-25 21:59:10