Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / JScript / June 2006

Tip: Looking for answers? Try searching our database.

JScript.NET by double-clicking

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe Nastasi - 17 Jun 2006 02:50 GMT
Is there a version of wscript.exe that support JScript.NET?

I want to use JScript.NET but I find I have to compile the code using
jsc.exe that came with the .NET sdk instead of just double clicking on the
script.
Peter Torr (MS) - 17 Jun 2006 04:25 GMT
> I want to use JScript.NET but I find I have to compile the code using
> jsc.exe that came with the .NET sdk instead of just double clicking on the
> script.

Hi,

Try the following, and map .js files to run with js7.exe:

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=AE465477-
9549-4696-8865-57571944567A


Peter

Signature

Peter Torr - http://blogs.msdn.com/ptorr
HD DVD Program Manager

Joe Nastasi - 17 Jun 2006 05:44 GMT
Thanks.  This worked great.

It does not support the WScript object, so I just created a new file type
called .jsn which I mapped to this program and I kept .js mapped to
wscript.exe for times when I need to use the WScript object.

The readme actually said the program could be extended to support the
WScript object, but I don't know enough programming to do that yet :-)

>> I want to use JScript.NET but I find I have to compile the code using
>> jsc.exe that came with the .NET sdk instead of just double clicking on
[quoted text clipped - 7 lines]
>
> Peter

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.