Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm writing a few scripts that I am using to integrate with bamboo for some continuous integration improvements and I've run into a bit of a snag.

I'm currently trying to run a psexec command that installs the latest build on the remote machine but I dont necessary know the revision number. For example, the remote exe file could be Installer-3.1.xxxxx.exe where the xxxxx changes.

I tried running the command with Installer-3.1.*.exe but it takes it as literal in Windows.

I'm not overly familiar with Windows command prompt and am more used to Linux at this moment.

share|improve this question

1 Answer 1

Mark Russinovich has more help on the Technet site or on SysInternals site http://ss64.com/nt/psexec.html gives syntax. Windows will automatically invoke the appropriate latest version of installer if installed.

share|improve this answer
That's a start. I am now using instead of a wildcard I invoke the -c argument before the file I copied over to the remote machine to install. Only issue now is I need to run the executable in silent mode. Example is Installer-3.1.98235.exe /S –  Danny Jun 28 '12 at 21:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.