Entra

View Full Version : [BATCH] aprire cartella


billi the bros
24-06-2022, 11:01
vorrei usare un batch per aprire una cartella di cui conosco solo i primi caratteri
[Path] \\server\commesse\2022\
cartella da aprire: 125-22 committente tipoLavoro
[NumCom] stringa conosciuta: 125-22

come posso inserire un carattere jolly sul comando START?

START "" %Path%%NumCom%

x_Master_x
24-06-2022, 11:46
@ECHO OFF
FOR /D %%x in ("C:\Percorso\WildMark\*") DO echo START "" "%%~x"&&exit /b

billi the bros
30-06-2022, 08:08
@ECHO OFF
FOR /D %%x in ("C:\Percorso\WildMark\*") DO echo START "" "%%~x"&&exit /b


Colpito e affondato. Questione risolta grazie