Announcement

Collapse
No announcement yet.

Problems with a custom tool

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    Re: Problems with a custom tool

    Not right after the cmd /c the way you had it. That sets up the DOS environment to run the commands following it. You can then chain commands in that environment, like you have with the &pause.

    Leave a comment:


  • bowulf
    replied
    Re: Problems with a custom tool

    That worked. Thanks for your help, so I don't need to chain the cmd for commands?

    Leave a comment:


  • Guest's Avatar
    Guest replied
    Re: Problems with a custom tool

    Remove the first & sign and change it to:

    cmd /c copy C:\temp\WLBS\NovellWLBS.reg \\%E%\c$\ & pause

    See what that does.

    Leave a comment:


  • bowulf
    started a topic Problems with a custom tool

    Problems with a custom tool

    I am having a problem with a custom tool that is simply supposed to rollout a reg key (the next command will run psexec and regedit remotely to apply the key.
    Here is the command:
    cmd /c & copy C:\temp\WLBS\NovellWLBS.reg \\%E%\c$\ & pause
    When I run it from a DOS prompt replacing %E% with a server name. I tried %S% as well, but that didn't help. The file never arrives at the target machine, rights would be the same between command prompt manual run and the Custom Tool. Any thoughts?
Working...
X