[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: New copy and paste function



Reply to note from "Robert Holmgren"  Sat, 8
Nov 2003 13:51:41 -0500

> Now, granted, you would think -- wouldn't you? -- that if you
> pass a filename argument to an interpreter like CSCRIPT, it
> isn't going to *care* whether there's an association for .VBS
> or not.

I wonder if Paul's problem is not whether the .VBS extension is
properly associated with Wscript or Cscript, but rather whether --
improbable as it seems -- the file association between .VBS and the
VBScript engine was lost. That's what the error message says,
anyway: "There is no script engine for file extension `.VBS'."

>> Please try this. Open a DOS prompt in a Desktop window. Go
>> to Editor's directory (location of EDITOR and CLIP.VBS). Command:
>>  echo This is a test > CLIP.TXT
>> Then command:
>>  cscript //logo //D //X //I CLIP.VBS

What happens if the second command is changed to:

cscript //E:vbscript CLIP.VBS

Now does Alt-spacebar + E + P paste "This is a test" at the cursor
location? If it does, that would be suggestive.

--
Carl Distefano
cld@xxxxxxxx
http://users.datarealm.com/xywwweb/