Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring Eclipse tool to run a Windows command

Tags:

eclipse

I would like to make a tool to run the following command in Eclipse. However, I haven't had success because "copy" is not a "Location" of a program, and so Eclipse doesn't recognize it.

copy /b ${env_var:SERVER_HOME}\pickup\star-web-custom.plan +,,

Any suggestions? I'm fairly new to Eclipse.

like image 361
Donald Taylor Avatar asked May 12 '11 14:05

Donald Taylor


1 Answers

  • In "Location" put ${env_var:SystemRoot}\system32\cmd.exe
  • In "Arguments" put /c "copy /b ${env_var:SERVER_HOME}\pickup\star-web-custom.plan +,,"

It should help. If something goes wrong, then just try to play with "Arguments" as of something simple like /c "somesimplecommandhere"

like image 68
gaRex Avatar answered Sep 21 '22 02:09

gaRex