1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Separate multiple entries in environment variable with semicolons automatically

Discussion in 'Windows XP' started by Djaunl, Feb 8, 2007.

Thread Status:
Not open for further replies.
  1. Djaunl

    Djaunl Thread Starter

    Joined:
    Feb 7, 2007
    Messages:
    2
    Hi,

    I'm trying to define an environment variable, CLASSPATH, to link to all the .jar files in a certain folder, C:\cp. This folder contains 16 different .jar files. CLASSPATH needs to look like:

    file1.jar;file2.jar;etc

    Does anyone know a way to separate multiple entries with a semicolon automatically, rather than entering each .jar file? Perhaps using a wildcard (*) of sorts?

    Thanks
     
  2. Djaunl

    Djaunl Thread Starter

    Joined:
    Feb 7, 2007
    Messages:
    2
    Sorry to bump this, but I still haven't been able to find an answer. Can anyone give me some advice?
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/542399

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice