MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > ----------= PC, Desktop and Laptop Support =---------- > Software
Register FAQ Members List Calendar Casino Mark Forums Read

Software Software such as operating systems like Windows XP, Windows Vista, Windows 7 etc., or specific programs.


Reply
 
Thread Tools Display Modes
  #1  
Old 05-07-07, 22:56
akshaysuri_jbp akshaysuri_jbp is offline
Private E-2
 
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Question How to run jscript script file

hi everybody
can anyone tell me how to run/execute jscript script file i have a windows xp service pack 2 i am double clicking the jscript script file but nothing is happening pls help me
Reply With Quote
Sponsored links
  #2  
Old 05-08-07, 09:44
Kodo's Avatar
Kodo Kodo is offline
SNATCHSQUATCH
 
Join Date: Jan 2002
Location: Syracuse NY, USA
Posts: 11,502
Thanks: 17
Thanked 72 Times in 49 Posts
Default Re: How to run jscript script file

javascript?
Requires a browser to run in.
__________________
"The American people will never knowingly adopt Socialism..." -Norman Thomas
Reply With Quote
  #3  
Old 05-08-07, 13:40
Mada_Milty's Avatar
Mada_Milty Mada_Milty is offline
Major Geek
 
Join Date: Aug 2005
Location: Ontario, Canada
Posts: 4,878
Thanks: 4
Thanked 52 Times in 48 Posts
Default Re: How to run jscript script file

A jscript as in a .JS file extension?

Should open with wscript.exe in Windows by default.

It's possible that the script is written to run transparently (ie. no output to the user). If you were to right-click and select 'Edit', it should open in notepad. This would allow you to post the code so that we could comment further.
__________________
A+, Project+ Certified Network Engineering Grad
5 years Sys Admin exp. 11 years web dev exp.
Reply With Quote
  #4  
Old 05-08-07, 21:23
akshaysuri_jbp akshaysuri_jbp is offline
Private E-2
 
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Question Re: How to run jscript script file

Quote:
Originally Posted by Mada_Milty View Post
A jscript as in a .JS file extension?

Should open with wscript.exe in Windows by default.

It's possible that the script is written to run transparently (ie. no output to the user). If you were to right-click and select 'Edit', it should open in notepad. This would allow you to post the code so that we could comment further.

files contains following codes


//**********************************************************************************
//** File Name: dialup.js
//** Summary: SupportSoft HTML Display JavaScript File
//** Description: This file contains global functions that help create
//** dial-up routines.
//**
//** Copyright SupportSoft Inc. 2003-2004, All rights reserved.
//**********************************************************************************

var objDialUp;

function SdcDialUp()
{
function mCreateDUNRasEntry(ConnectionName, areaCode, Phone, User, Password, Attributes, Modem)
{
//GetLastError() doesn't seem to populate so we'll return error.
try {
this.oSdcDialUp.CreatePPPoARasEntry(ConnectionName, areaCode, Phone, User, Password, Attributes, Modem);
}
catch(e){
sma_log_debug("Error: " + e.description, 1, false, "mCreateDUNRasEntry()");
return e.description;
}
return '';
}

function mCreatePPPOERasEntry(ConnectionName, Svc, User, Password, Attributes)
{
//GetLastError() doesn't seem to populate so we'll return error.
try {
this.oSdcDialUp.CreatePPPoERasEntry(ConnectionName, Svc, User, Password, Attributes);
}
catch(e){
sma_log_debug("Error: " + e.description, 1, false, "mCreatePPPOERasEntry()");
return e.description;
}
return '';
}

function mGetRasConnectStatus(ConnectionName)
{
var Ret = -1;
try {
Ret = this.oSdcDialUp.GetRasConnectStatus(ConnectionName);
}
catch(e){
sma_log_debug("Error: " + e.description, 1, false, "mGetRasConnectStatus()");
return -1;
}
return Ret;
}

function mRasConnect(ConnectionName)
{
var Ret = false;
try {
Ret = this.oSdcDialUp.RasConnect(ConnectionName);
}
catch(e){
sma_log_debug("Error: " + e.description, 1, false, "mRasConnect()");
return false;
}
return Ret;
}

function mRasDisconnect(ConnectionName)
{
var Ret = false;
try {
Ret = this.oSdcDialUp.RasDisconnect(ConnectionName);
}
catch(e){
sma_log_debug("Error: " + e.description, 1, false, "mRasDisconnect()");
return false;
}
return Ret;
}

function mGetRasEntries() {
var Ret = '';
try {
Ret = this.oSdcDialUp.GetRasEntries();
}
catch(e){
sma_log_debug("Error: " + e.description, 1, false, "mGetRasEntries()");
return '';
}
return Ret;
}

function mDelRasEntry(PhoneBook, ConnectionName) {
var Ret = false;
try {
Ret = this.oSdcDialUp.DelRasEntry(PhoneBook, ConnectionName);
}
catch(e){
sma_log_debug("Error: " + e.description, 1, false, "mDelRasEntry()");
return false;
}
return Ret;
}

function mGetRasDevices(devicetype) {
var Ret = '';
try {
Ret = this.oSdcDialUp.GetRasDevices(devicetype);
}
catch(e){
sma_log_debug("Error: " + e.description, 1, false, "mGetRasConnections()");
return '';
}
return Ret;
}
function mGetLastError() {
return this.oSdcDialUp.GetLastError();
}
function mGetLastErrorMsg() {
return this.oSdcDialUp.GetLastErrorMsg();
}

try
{
this.oSdcDialUp = new ActiveXObject('SPRT.SdcNetCheck'); //the sdcNetCheck provides routines for RAS-dialup activities
}
catch(e){
sma_log_debug("Error: " + e.description, 1, false, "sma_dailup.js");
};

this.GetLastError = mGetLastError;
this.GetLastErrorMsg = mGetLastErrorMsg;
this.CreateDUNRasEntry = mCreateDUNRasEntry;
this.CreatePPPOERasEntry = mCreatePPPOERasEntry
this.GetRasConnectStatus = mGetRasConnectStatus;
this.RasConnect = mRasConnect;
this.RasDisconnect = mRasDisconnect;
this.GetRasEntries = mGetRasEntries;
this.GetRasDevices = mGetRasDevices;
this.DelRasEntry = mDelRasEntry;
}

objDialUp = new SdcDialUp();


Actually i want to create a pppoe dialer in winxp using windows script or java script pls help me
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
c/windows/i386/jscript.dl_ cannot clean trojan from this file marilynnnnn2003 Malware Removal 1 04-21-06 01:02
Converting a batch file to a windows script Falerin Software 1 03-10-06 21:34
a MACRO for WINXP? a script or batch file? bearsfeat Software 0 03-09-05 11:45
Outlook Script File? Gillivray Software 0 12-01-04 11:25
Running a bat file from a vbs script noodles101487 Software 1 07-27-04 06:08


All times are GMT -5. The time now is 14:41.

MajorGeeks.Com Menu

MajorGeeks.Com \ All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ NEW! PC Games \ System Tools \ Macintosh \ Demonews.Com \ Top Downloads

MajorGeeks.Com \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds


All content Copyright MajorGeeks.com source code Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger