Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9147371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:58:18+00:00 2026-06-17T10:58:18+00:00

I am currently writing a JavaScript script for the Microsoft JScript Runtime Environment. It’s

  • 0

I am currently writing a JavaScript script for the Microsoft JScript Runtime Environment. It’s not in a browser, but rather going to be run more like a SysAdmin would use VBScript. I’ve written a lot of code, and while some of it is specific for what needs to be accomplished, a majority of it is supporting framework for the script to do what it needs to do. I’d like to use this sum of code in other future scripting adventures, but as to my current knowledge, I would have to copy and paste these mini-libraries over and over again, and well, that’s just an update nightmare for one and two, it’s inefficient. I know it’s possible to dynamically load JS when I have a window or document, I know it’s possible to require() JS files in Node.js, but is this possible in the raw JScript Runtime for MS?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T10:58:20+00:00Added an answer on June 17, 2026 at 10:58 am

    Look into the Windows Script File (*.wsf) format. One of its features is to allow for includes like you’re describing. An example taken from the linked documentation:

    <job id="IncludeExample">
       <script language="JScript" src="FSO.JS"/>
       <script language="VBScript">
          ' Get the free space for drive C.
          s = GetFreeSpace("c:")
          WScript.Echo s
       </script>
    </job>
    

    where “FSO.JS” contains the JScript library.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a JavaScript that currently needs to support older browsers (like IE
I'm currently writing a Powershell script that's used to select a user from Active
I'm currently writing a test script for our MLS( Multiple Listing System ) systems.
I am currently in the process of writing a javascript class that loads libraries
I am currently writing whats going to be a very, very large single page
I am currently writing a little library in JavaScript to help me delegate to
I am writing an inline javascript in ant. This script will scan a directory
I load some .js dynamically by creating a script tag and writing javascript to
I am writing a marquee script because I do not like the fact that
I'm currently writing an edit-in-place script for MooTools and I'm a little stumped as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.