Path: csiph.com!aioe.org!.POSTED.TG81Y5FgcMixswMlcgTnFw.user.gioia.aioe.org!not-for-mail From: "Cerebus" Newsgroups: it.comp.lang.visual-basic Subject: Re: Aggiungere carattere in stringa registro Date: Wed, 13 Mar 2019 15:27:10 +0100 Organization: Aioe.org NNTP Server Lines: 28 Message-ID: References: <5nkh8e5lnld7lldrle0hd9433tspev9b4d@4ax.com> NNTP-Posting-Host: TG81Y5FgcMixswMlcgTnFw.user.gioia.aioe.org X-Complaints-To: abuse@aioe.org X-RFC2646: Format=Flowed; Original X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Notice: Filtered by postfilter v. 0.9.2 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 Xref: csiph.com it.comp.lang.visual-basic:19582 "SB" ha scritto nel messaggio news:5nkh8e5lnld7lldrle0hd9433tspev9b4d@4ax.com... E' tutto ok, ma il comando per eseguire un file mi restituisce un errore. Il percorso del sw e' "C:\Program Files (x86)\nome\nome64.exe" Si', e' a 64 bit ma si trova dentro "C:\Program Files (x86)", dove e' presente anche la versione 32 bit (nome.exe). > Cmnd = "C:\Program Files (x86)\nome\nome64.exe" > > wshShell.Run (Cmnd ,1 ,True) Mi restituisce "Impossibile utilizzare parentesi per la chiamata di routine Sub" Se uso: Set objShell = WScript.CreateObject("WScript.Shell") objShell.Run ("C:\Program Files (x86)\nome\nome64.exe" & WScript.ScriptFullName) Mi da' "Impossibile trovare il file specificato". Idee?