XANSYS Forum Index
    Register    

FAQ    Search    Memberlist    Usergroups    SmartFeedSmartFeed    Profile    Log in
[Xansys] starting Ansys batch from command line
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XANSYS Forum Index -> XANSYS
Author Message
akbey.kalkan
User


Joined: 21 Oct 2008
Posts: 6

PostPosted: Fri Jun 19, 2009 3:25 am  Reply with quote

Boris

The best work around for this is to add ansys_sysdir to your path. Then you
can simply use "ansys120 -b -i input -o output".

--Akbey
Jacobs Engineering UK

-----Original Message-----
From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf
Of Boris Zmire
Sent: 19 June 2009 11:18
To: xansys
Subject: [Xansys] starting Ansys batch from command line

Hi,

I want to run additional Ansys batch run from the interactive Ansys session.
The command is:

/sys,"%ANSYS120_DIR%\bin\%ANSYS_SYSDIR\ansys120.exe" -b -i input -o output

gives me the error
------------
SYSTEM=
"%ANSYS120_DIR%\bin\%ANSYS_SYSDIR\ansys120.exe" -b -i input -o output

'C:\Program' is not recognized as an internal or external command, operable
program or batch file.
--------------------

It seems that space in the name of folder is not recognized.

When I run the same command in cmd window, it runs OK.

Any suggestion?

Thanks

Boris

--

-----------
*Boris Zmire Nav. Arch*
Support & Software Development

mailto: --email address suppressed--

tel: +385 1 7775 007
fax: +385 1 7775 123

*AVL-AST *d.o.o
Advanced Simulation Technologies
Avenija Dubrovnik 10
Zagreb, Croatia

http://www.avl.com

+-------------------------------------------------------------+
| XANSYS web - www.xansys.org/forum |
| XANSYS blog - xansys.blogspot.com |
| The Online Community for users of ANSYS, Inc. Software |
| Hosted by PADT - www.padtinc.com |
| Send administrative requests to --email address suppressed-- |
+-------------------------------------------------------------+



NOTICE - This communication may contain confidential and privileged information that is for the sole use of the intended recipient. Any viewing copying or distribution of, or reliance on this message by unintended recipients is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer.

Jacobs Engineering U.K. Limited
Jacobs House, London Road, Reading, Berkshire RG6 1BL
Registered in England and Wales under number 2594504

Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
View user's profile Send private message
Boris Zmire
Guest





PostPosted: Fri Jun 19, 2009 3:51 am  Reply with quote

Thanks Akbey.

That was the solution.

Regards

Boris

-----------
*Boris Zmire Nav. Arch*
Support & Software Development

mailto: --email address suppressed--

tel: +385 1 7775 007
fax: +385 1 7775 123

*AVL-AST *d.o.o
Advanced Simulation Technologies
Avenija Dubrovnik 10
Zagreb, Croatia

http://www.avl.com



Kalkan, Akbey wrote:
> Boris
>
> The best work around for this is to add ansys_sysdir to your path. Then you
> can simply use "ansys120 -b -i input -o output".
>
> --Akbey
> Jacobs Engineering UK
>
> -----Original Message-----
> From: --email address suppressed-- [mailto:--email address suppressed--] On Behalf
> Of Boris Zmire
> Sent: 19 June 2009 11:18
> To: xansys
> Subject: [Xansys] starting Ansys batch from command line
>
> Hi,
>
> I want to run additional Ansys batch run from the interactive Ansys session.
> The command is:
>
> /sys,"%ANSYS120_DIR%\bin\%ANSYS_SYSDIR\ansys120.exe" -b -i input -o output
>
> gives me the error
> ------------
> SYSTEM=
> "%ANSYS120_DIR%\bin\%ANSYS_SYSDIR\ansys120.exe" -b -i input -o output
>
> 'C:\Program' is not recognized as an internal or external command, operable
> program or batch file.
> --------------------
>
> It seems that space in the name of folder is not recognized.
>
> When I run the same command in cmd window, it runs OK.
>
> Any suggestion?
>
> Thanks
>
> Boris
>
> --
>
> -----------
> *Boris Zmire Nav. Arch*
> Support & Software Development
>
> mailto: --email address suppressed--
>
> tel: +385 1 7775 007
> fax: +385 1 7775 123
>
> *AVL-AST *d.o.o
> Advanced Simulation Technologies
> Avenija Dubrovnik 10
> Zagreb, Croatia
>
> http://www.avl.com
>
> +-------------------------------------------------------------+
> | XANSYS web - www.xansys.org/forum |
> | XANSYS blog - xansys.blogspot.com |
> | The Online Community for users of ANSYS, Inc. Software |
> | Hosted by PADT - www.padtinc.com |
> | Send administrative requests to --email address suppressed-- |
> +-------------------------------------------------------------+
>
>
>
> NOTICE - This communication may contain confidential and privileged information that is for the sole use of the intended recipient. Any viewing copying or distribution of, or reliance on this message by unintended recipients is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer.
>
> Jacobs Engineering U.K. Limited
> Jacobs House, London Road, Reading, Berkshire RG6 1BL
> Registered in England and Wales under number 2594504
>
> +-------------------------------------------------------------+
> | XANSYS web - www.xansys.org/forum |
> | XANSYS blog - xansys.blogspot.com |
> | The Online Community for users of ANSYS, Inc. Software |
> | Hosted by PADT - www.padtinc.com |
> | Send administrative requests to --email address suppressed-- |
> +-------------------------------------------------------------+
>
>
>

Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XANSYS Forum Index -> XANSYS
All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

sleek template created by Andrew Charron