Write regapps to file?

(imported topic written by ltd200991)

Is it possible to write regapps to a txt file with action scripting?

regapps >> c:\regapps.txt

(imported comment written by SystemAdmin)

As you been active on this board (and obviously busy using Bigfix) for nearly 2 years, I’d have thought this would be fairly straightfoward for you. (I’m also just going lunch, so I’ll just do the quick version).

  • The output of regapps on it’s own returns a plural list of data.
  • In an action script, there are commands to create a file
  • Therefore, you’ll need to get the return value of the regapps command to dump it’s output into that file
  • Lastly, you might want to move the file from it’s default creation location to some other folder.

There is also enough detail available ( either by looking in existing tasks in Bigfix and/or searching this forum for how to take some output and store in a file ) that this should be one you could sort out on your own.

-Jim

(imported comment written by ltd200991)

I’ve been searching through packages and the forum quite a bit for this, was just hoping someone had already come up with action script…

thanks

(imported comment written by jeremylam)

The action debugger is really good at this.

delete __appendfile

appendfile {concatenation “%0D” of (regapps as string)}

delete “c:\regapps.txt”

move __appendfile “c:\regapps.txt”

(imported comment written by ltd200991)

thanks!!!