I shuld also note I tried putting that path in to the batch file. On Wed, Nov 8, 2017 at 2:20 PM, Larry Pescatore <[email protected]> wrote:
> Hi Jordan, > The setup file is in C:\Users\user\Desktop. > The batch has the right path. > I just dont know why it's not working. > > On Wed, Nov 8, 2017 at 2:18 PM, Jordan Borean <[email protected]> wrote: > >> Where is the setup-x86_64.exe located? By default commands run from >> win_command and win_shell are run in the user's home directory which means >> it will be trying to execute *C:\Users\pkmbuilder\setup-x86_64.exe*. If >> the exe is located in another directory you will either have to reference >> the full/relative path from that user's home directory or change the >> working directory on the task. To change the working directory to another >> path (the example is C:\temp) you can set the task as; >> >> - win_command: cmd.exe /c dir >> args: >> chdir: C:\temp >> >> Thanks >> >> Jordan >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Ansible Project" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/ansible-project/5F3UCDR3j_Y/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/ansible-project/9a90484a-5f68-4af4-be09-4588b4729adb% >> 40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/9a90484a-5f68-4af4-be09-4588b4729adb%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Thank you, > Larry Pescatore > Lab Engineer, ERG Inc. @ Google > -- Thank you, Larry Pescatore Lab Engineer, ERG Inc. @ Google -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADxK1kuZ542p%2BZsfVdXogQ_P%3DeFkmpxJ8Qui1_1Owfw8gUKq%2Bg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
