From: "Joe Earnest" References: Subject: Re: Set VBS to execute without extension? Date: Fri, 18 Oct 2002 10:09:38 -0600 Lines: 58 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Newsgroups: microsoft.public.scripting.wsh NNTP-Posting-Host: 65.100.123.179 Path: tkmsftngp01!tkmsftngp11 Xref: tkmsftngp01 microsoft.public.scripting.wsh:55383 Gordon, Sorry to chime in late, but I'm an errant newsgroup browser. This is an old registry trick, and you're probably already aware of it, but just in case ... You can register a faux exe file name to run the vbs file with the basename in the Run box. This assumes that your vbs basename does not duplicate an exe file basename in your path. E.g., for C:\path\myscript.vbs (1) Write a new registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\myscript.exe (2) Set the default value = "C:\path\myscript.vbs" (3) Optionally write a "Path" value = "C:\path", if a working directory is needed. (4) Enter the basename in the Run box. After searching the path for a conforming exe file, Run will run the file in the default value, regardless of type. This trick is generally used for Run shortcuts (e.g., a faux r.exe to run regedit with just an "r" entry,). But it should work in your case. (I retested it last night on both Win98 and WinXP. I don't use it much anymore.) Indeed, you could use any descriptive faux basename you wish -- it doesn't have to match your true vbs basename. Regards, Joe Earnest