Ragazzi, sapete come far partire un file .bat da vb6 o da vb.net?
tenete presente che il file .bat è un programma sotto dos.
Grazie
Ragazzi, sapete come far partire un file .bat da vb6 o da vb.net?
tenete presente che il file .bat è un programma sotto dos.
Grazie
ocodice:Shell Command /c <tuo comando>
Toecodice:Shell Cmd /c <tuo comando>
Shell Cmd /c <tuo comando>
tuo comando sta per il percorso del file da aprire?
Non serve mandare i Pvt per queste cose.
Cmq nel tuo esempio
codice:shell ("C:\new-tur\istat.bat")
Come L' MSDN dice:
Shell(pathname[,windowstyle])
Dove pathname sta per il percorso in stringa
e windowstyle e' optionale:
1 vbHide
2 vbNormalFocus
3 vbMinimizedFocus
4 vbMaximizedFocus
5 vbNormalNoFocus
6 vbMinimizedNoFocus
Toeke
Così già l'avevo fatto, ma come risultato esce un veloce unn'immagine velocissima del file bat e non apre nulla
dipende da cosa deve fare sto file bat ....Originariamente inviato da pusolo
Così già l'avevo fatto, ma come risultato esce un veloce unn'immagine velocissima del file bat e non apre nulla
prova a dare un'occhiata al comando "start" da usare all'interno del tuo file bat.
che fortuna essere sognatore in un mondo in cui è una sfortuna essere sognatori