Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.visual-basic > #19605
| From | "Cerebus" <Cerebus@test.it> |
|---|---|
| Newsgroups | it.comp.lang.visual-basic |
| Subject | Re: Aggiungere carattere in stringa registro |
| Date | 2019-03-15 14:57 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <q6gb10$ed9$1@gioia.aioe.org> (permalink) |
| References | (9 earlier) <4uui8edefm3q5cidkpdo6lc5uucepcqsso@4ax.com> <q6ejgp$u3p$1@gioia.aioe.org> <q6ek4l$10to$1@gioia.aioe.org> <du4n8e1denmtcb290l31q4oivo5lcqgpg1@4ax.com> <qu5n8etai2mfnjpsep2qu1d0b3jj2r8qna@4ax.com> |
"SB" <stNOOObenevSPAM@tin.it> ha scritto nel messaggio
news:qu5n8etai2mfnjpsep2qu1d0b3jj2r8qna@4ax.com...
> C'entrano, perĂ² nella tua linea di comando vedo un paio di caratteri " di
> troppo
> e una & mancante.
Cosi' partiva:
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.run "cmd /c ""C:\Program Files (x86)\none\nome.exe""",0,True
Nel tuo esempio invece c'era un " di troppo: il secondo dopo PROGRAMMI,
nella terza riga.
(trovato grazie al MsgBox, senno' col fischio che me ne accorgevo)
Set wshShell = CreateObject( "WScript.Shell" )
PROGRAMMI = wshShell.ExpandEnvironmentStrings ("%ProgramFiles(x86)%")
PROGRAMMI = Chr(34) & PROGRAMMI
CMD = PROGRAMMI & "\nome\nome.exe"
MsgBox CMD ' Per esaminare la stringa
Set WshShell = WScript.CreateObject("WScript.Shell")
wshShell.Run CMD, 0 ,True
Cmq, funziona tutto.
Grazie sempre.
Back to it.comp.lang.visual-basic | Previous | Next — Previous in thread | Next in thread | Find similar
Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-11 17:44 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-11 21:32 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-11 21:50 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-12 14:31 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-12 14:47 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-12 15:36 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-12 21:37 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-13 11:10 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-13 14:41 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-13 15:37 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-13 16:08 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-13 15:27 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-13 16:20 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-13 17:00 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-13 17:19 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-13 17:23 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-13 17:49 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-13 18:02 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-13 18:20 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-13 18:24 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-13 18:31 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-13 18:58 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-13 20:41 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-13 21:30 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-13 23:03 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-14 23:10 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-14 23:21 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-15 13:09 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-15 13:20 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-15 14:57 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-15 13:31 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-03-15 14:56 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-15 19:10 +0100
Re: Aggiungere carattere in stringa registro SB <stNOOObenevSPAM@tin.it> - 2019-03-13 23:10 +0100
Re: Aggiungere carattere in stringa registro "Cerebus" <Cerebus@test.it> - 2019-04-28 23:43 +0200
csiph-web