[Chimera-users] Open a file with Windows 10 Command Prompt
Mark Rosenberg
mark.rosenberg at manchester.ac.uk
Sat May 20 15:16:44 PDT 2017
Julian,
Thanks so much again. I am used to using Apple computers so I am not familiar with paths in Windows 10.
I will research how to do this now.
I will try your valued suggestion the next time I am on my PC.
Thank you.
Mark
> On 19 May 2017, at 21:45, Julian Tirado-Rives <julian.tirado-rives at yale.edu> wrote:
>
>
> Mark, Conrad,
>
> I actually have a very small file called "chimera.bat" that I
> put in a folder in my path and it does the trick. I just type,
> for example,
>
> chimera ideal_helix.pdb
>
>
> the chimera.bat file is:
>
> ------------------------------------------------------------------------------------------------
> @echo off
> start "" /B "c:\Program Files\Chimera 64 2015-11-09\bin\chimera.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9
> -------------------------------------------------------------------------------------------------
>
> the full path to chimera in the start line has to be the the one corresponding
> to the version you are using.
>
> - Julian -
>
> On 5/19/2017 3:14 PM, Conrad Huang wrote:
>> Hi, Mark.
>>
>> What is the actual command you typed? And did Chimera not start, or start but not open the data file?
>>
>> I am able to launch Chimera with a PDB file on my machine using the following commands:
>>
>> cd d:\chimerax\src\core\atomic
>> "c:\Program Files\Chimera 2016-09-23\bin\chimera.exe" ideal_helix.pdb
>>
>> The first command sets the "current folder" and the second launches Chimera with a file in that folder. The latter command used a full path for a daily build of Chimera. If you put the Chimera "bin" directory in your PATH environment variable, you should be able to just type "chimera" instead.
>>
>> Conrad
>>
>> On 5/19/2017 12:32 AM, Mark F Rosenberg wrote:
>>> For Mac in Terminal I can type Chimera and the file name to open a
>>> volume etc which is very useful. In Windows 10 for Command Prompt
>>> Terminal I cannot seem to achieve this. I thought if I added "open"
>>> after the executable I could achieve this but it does not appear to
>>> work. Please can you advise? Many thanks.
>>> Mark
>>>
>>>
>>> _______________________________________________
>>> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
>>> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
>>>
>> _______________________________________________
>> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
>> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
>
> --
>
> -----------------------------------------------------------------
> | Julian Tirado-Rives | |
> | Department of Chemistry | Phone: (203)432-3356 |
> | Yale University | Fax: (203)432-6144 |
> | P. O. Box 208107 | email: Julian.Tirado-Rives at yale.edu |
> | New Haven, CT 06520-8107 | |
> -----------------------------------------------------------------
>
More information about the Chimera-users
mailing list