![]() |
IOBit Software
|
|
|
||||||
| Programming Place to discuss programming including HTML, Java, C++, MySQL and others. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Sponsored links |
|
|
|
#2
|
||||
|
||||
|
javascript?
Requires a browser to run in.
__________________
"The American people will never knowingly adopt Socialism..." -Norman Thomas |
|
#3
|
||||
|
||||
|
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. |
|
#4
|
|||
|
|||
|
Quote:
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 | Programming | 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 | Programming | 1 | 07-27-04 06:08 |