Get every combination possible
Posted: 26 Aug 2021 22:15
Is it possible to create a script that generates every combination of the typed characters possible?
For example:
would give me all combinations:
Or if i would use a switch that allows double digits
for example:Would give me:
For example:
Code: Select all
filename.bat 123
Code: Select all
123
132
213
231
312
321
for example:
Code: Select all
filename.bat /d 123
Code: Select all
111
112
113
121
122
123
131
132
133
211
212
213
221
222
223
231
232
233
311
312
313
321
322
323
331
332
333