Salve ragazzi,
Non riesco a far eseguire un comando DOS all'interno di uno script in VB,mi potete dare una mano?
dim strsource, strdestination, strname, strdir, strcommand
strsor=InputBox("percorso sorgente:")
strdes=InputBox("percorso destinazione:")
strname=InputBox("numero progressivo:")
set objShell = CreateObject("Shell.Application")
set objFolder = objShell.NameSpace(strdestination)
objFolder.NewFolder strname
strcmd= "cmd /K robocopy" & strsource & strdestination & strname & "/e"
L'errore è sull'ultima riga il resto mi funziona...
Grazie a tutti per i consigli
Saluti