Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

start /wait - use wildcards

$
0
0
Hi,

I have a really simple script and it works great on the RDS server.

--start of script--
start /wait C:\Windows\System32\calc.exe
logoff.exe
--end of script--

The problem I have now is that calc.exe might be calc_v2.exe or calc_v3.exe. Can I use a wildcard to represent say calc_*.exe?

Thanks

Viewing all articles
Browse latest Browse all 15028

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>