Executing EXE with wildcard from psexec
Posted
by
Danny
on Super User
See other posts from Super User
or by Danny
Published on 2012-06-28T19:42:32Z
Indexed on
2012/06/28
21:18 UTC
Read the original article
Hit count: 263
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.
© Super User or respective owner