0

I'm trying to define a line of batch command and run it

I use something like this :

pushd "%WORKSPACE%"
set mycommand = translate.py documentname
%XD%

but it doesn't run at all

Anybody knows how to do it ?

1
  • 1
    You should not have any spaces between your variable and = since this will create an environment variable called "mycommand " notice the trailing space Commented Feb 17, 2015 at 2:15

1 Answer 1

1

I think it would be like:

 pushd "%WORKSPACE"
 set mycommand=translate.py "documentname.py"
 %mycommand%

Hopefully it's like that...

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.