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 3438918
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:14:45+00:00 2026-05-18T08:14:45+00:00

I need to create a simple utility to make my life a little easier.

  • 0

I need to create a simple utility to make my life a little easier. It creates a folder that gets name generated from the next Monday date with DateJS library. I am obviously to use this utility locally in Windows. What are the ways to include this DateJS library to my utility JS file?

  • 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-05-18T08:14:46+00:00Added an answer on May 18, 2026 at 8:14 am

    I assume you’re using WSH – in other words, putting some script in a .js file and running it. Your options:

    • Simply copy the DateJS code from date.js and paste it to the bottom of your script. Easy, but messy and not maintainable.
    • Use the hacky method outlined in the “Importing External Script Code” section of this article. Basically, you read the external code in to a variable and eval() it. I would not recommend this method.
    • Save your script in the wsf format, a simple XML format which allows you to reference external scripts. This is probably your best route.

    myscript.wsf:

    <job id="myscript">
       <script language="JScript" src="date.js"/>
       <script language="JScript">
          // ...
       </script>
    </job>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd need to create simple patches from git repository that can be applied with
I need to create a simple program/utility to parse a txt file (deleting blank
I need to create a simple app which can display geometries from Oracle Spatial
I need to create a simple installer of sorts for a different application. That
I need to create a simple calculator that computes 1% of the value submitted
i need to create a simple package that will: insert a data to table
I need to create some simple form that will be use to registration a
I need to create a simple horizontal scroll from a slew of pictures a
I need to create a simple rich-text editor that saves its contents to an
I need to create a simple application that would generate reports based on database

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.