|I'm having a problem getting a batch file to work. |
I have a file in a folder, named sjsetup_x86-700.exe. Because the name of the file changes with new versions, I want to use a For loop to find the current file and execute it. So I've tried permutations of:
For %%G in (sjsetup*) Do start /wait "" %%G /S
I've tried it with various permutations of the quote marks. I've tried separating the start command into a multiline format, but nothing is working.
Any guidance? Thanks.
message edited by paul1149