Power Shell Script Loop multiple Executables The 2019 Stack Overflow Developer Survey Results Are InAccessing the index in 'for' loops?How do I loop through or enumerate a JavaScript object?JavaScript closure inside loops – simple practical exampleHow do I break out of nested loops in Java?Terminating a script in PowerShellHow to run a PowerShell scriptLoop through an array in JavaScriptPowerShell says “execution of scripts is disabled on this system.”Unix tail equivalent command in Windows PowershellHow does PHP 'foreach' actually work?

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints

What is the motivation for a law requiring 2 parties to consent for recording a conversation

Could JWST stay at L2 "forever"?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

What is the meaning of Triage in Cybersec world?

What do the Banks children have against barley water?

Feasability of miniature nuclear reactors for humanoid cyborgs

Pristine Bit Checking

What do hard-Brexiteers want with respect to the Irish border?

If a poisoned arrow's piercing damage is reduced to 0, do you still get poisoned?

Is three citations per paragraph excessive for undergraduate research paper?

Does a dangling wire really electrocute me if I'm standing in water?

Is there a name of the flying bionic bird?

aging parents with no investments

The difference between dialogue marks

How was Skylab's orbit inclination chosen?

How come people say “Would of”?

Does light intensity oscillate really fast since it is a wave?

Should I write numbers in words or as numerals when there are multiple next to each other?

Does it makes sense to buy a new cycle to learn riding?

How to make payment on the internet without leaving a money trail?

Evaluating number of iteration with a certain map with While

Access elements in std::string where positon of string is greater than its size



Power Shell Script Loop multiple Executables



The 2019 Stack Overflow Developer Survey Results Are InAccessing the index in 'for' loops?How do I loop through or enumerate a JavaScript object?JavaScript closure inside loops – simple practical exampleHow do I break out of nested loops in Java?Terminating a script in PowerShellHow to run a PowerShell scriptLoop through an array in JavaScriptPowerShell says “execution of scripts is disabled on this system.”Unix tail equivalent command in Windows PowershellHow does PHP 'foreach' actually work?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-2















I am working with Executables programmed with Fortran and with LAMMPS.



I want to do a script for Powershell (Windows 10), that just make a loop running the executables and LAMMPS (see https://lammps.sandia.gov/). In the case of LAMMPS, it is also an Executable but with an input file.



The command line looks like



lammps inputFile.lmp -o output.log


Can someone kindly help me?










share|improve this question



















  • 2





    Can you please add more clarity to your question? What problem are you facing?

    – Mohit Jain
    Mar 8 at 8:35











  • I do not see any real question (I do not count Can someone kindly help me?, I suppose you do not want a yes or no answer.). Please take the tour and read How to Ask.

    – Vladimir F
    Mar 8 at 9:08












  • Have a look at Start-Process

    – Theo
    Mar 8 at 14:00

















-2















I am working with Executables programmed with Fortran and with LAMMPS.



I want to do a script for Powershell (Windows 10), that just make a loop running the executables and LAMMPS (see https://lammps.sandia.gov/). In the case of LAMMPS, it is also an Executable but with an input file.



The command line looks like



lammps inputFile.lmp -o output.log


Can someone kindly help me?










share|improve this question



















  • 2





    Can you please add more clarity to your question? What problem are you facing?

    – Mohit Jain
    Mar 8 at 8:35











  • I do not see any real question (I do not count Can someone kindly help me?, I suppose you do not want a yes or no answer.). Please take the tour and read How to Ask.

    – Vladimir F
    Mar 8 at 9:08












  • Have a look at Start-Process

    – Theo
    Mar 8 at 14:00













-2












-2








-2








I am working with Executables programmed with Fortran and with LAMMPS.



I want to do a script for Powershell (Windows 10), that just make a loop running the executables and LAMMPS (see https://lammps.sandia.gov/). In the case of LAMMPS, it is also an Executable but with an input file.



The command line looks like



lammps inputFile.lmp -o output.log


Can someone kindly help me?










share|improve this question
















I am working with Executables programmed with Fortran and with LAMMPS.



I want to do a script for Powershell (Windows 10), that just make a loop running the executables and LAMMPS (see https://lammps.sandia.gov/). In the case of LAMMPS, it is also an Executable but with an input file.



The command line looks like



lammps inputFile.lmp -o output.log


Can someone kindly help me?







powershell loops






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 9:11









francescalus

18k73759




18k73759










asked Mar 8 at 8:27









Vala DaybreakVala Daybreak

1




1







  • 2





    Can you please add more clarity to your question? What problem are you facing?

    – Mohit Jain
    Mar 8 at 8:35











  • I do not see any real question (I do not count Can someone kindly help me?, I suppose you do not want a yes or no answer.). Please take the tour and read How to Ask.

    – Vladimir F
    Mar 8 at 9:08












  • Have a look at Start-Process

    – Theo
    Mar 8 at 14:00












  • 2





    Can you please add more clarity to your question? What problem are you facing?

    – Mohit Jain
    Mar 8 at 8:35











  • I do not see any real question (I do not count Can someone kindly help me?, I suppose you do not want a yes or no answer.). Please take the tour and read How to Ask.

    – Vladimir F
    Mar 8 at 9:08












  • Have a look at Start-Process

    – Theo
    Mar 8 at 14:00







2




2





Can you please add more clarity to your question? What problem are you facing?

– Mohit Jain
Mar 8 at 8:35





Can you please add more clarity to your question? What problem are you facing?

– Mohit Jain
Mar 8 at 8:35













I do not see any real question (I do not count Can someone kindly help me?, I suppose you do not want a yes or no answer.). Please take the tour and read How to Ask.

– Vladimir F
Mar 8 at 9:08






I do not see any real question (I do not count Can someone kindly help me?, I suppose you do not want a yes or no answer.). Please take the tour and read How to Ask.

– Vladimir F
Mar 8 at 9:08














Have a look at Start-Process

– Theo
Mar 8 at 14:00





Have a look at Start-Process

– Theo
Mar 8 at 14:00












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55059296%2fpower-shell-script-loop-multiple-executables%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55059296%2fpower-shell-script-loop-multiple-executables%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

Алба-Юлія

Захаров Федір Захарович