🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #615

Re: tricky batch - help

#615
From: stern
Date: Wed, 08 Apr 1992 12:53
69 lines
3320 bytes
In article <92097.223002L28BC@CUNYVM.BITNET>, L28BC@CUNYVM.BITNET writes:
> I am trying to find a way to prompt a user to enter a filename.  The computer
> will then search for an existing filename and insert the filename and path
> into a variable.  Does anyone know or have an idea how to search for the files
> and insert their filename and path into a varialbe, if they exist or not ?
> 
> 
>                                               Thanks in advance
>                                                  - Jack -


Here is THE solution to enhance your batch files.
I used to work on systems owning a very much powerful shell language
(UNIX, VMS,...) and I had to write a lot of batch files for automating
PC use. Due to the limitation of COMMAND.COM I write a very general program
that manipulate the environment variables. I now couldn't live without it.

Try XSET (version 2.12), it is available
   at SIMTEL20 PD1:<MSDOS.BATUTL>XSET212.ZIP
or at GARBO.UWASA.FI:/PC/BATCHUTIL/XSET212.ZIP


	XSET allows you to put EVERYTHING you want in a variable of
 the current environment and use it as if you gave it the value with
 the standard DOS command 'SET'. You will be able to write very efficient
 batch files including string manipulation, calculation,...

	XSET is the more powerful environment variable manipulation
 program you never saw. It also has the easiest and most intuitive
 user interface it is possible to write (very closed to the DOS 'SET'
 command).


 XSET is fully compatible with MS-DOS 5.0, DR-DOS 6.0, NDOS & 4DOS 4.0.


 XSET has five major features:
 ============================

  - XSET permits to catch the output of any command (internal or external)
    or program and put it into an environment variable.

  - XSET has several built-in commands to modify the output of a program
    or a string given on the command-line (extract a part of a string,...)

  - XSET has a built-in full floating-point calculation functionalitie:
                        -------------------------------

    You can make incremental loops, input a calculation string and
    output a number,...

  - XSET can manage variable contents of more than 128 characters
    (your path can now be as long as you want)

  - XSET has some other built-in commands to give you access to some
    system datas (date, time, ...)

                                                       M. Stern
  More than 40 commands to let you do all what you need.
                                          


-----------------------------------------------------------------------------
       Marc Stern  <stern@mble.philips.be>

  ***  Theory is when we know everything but nothing goes right.      ***
  ***  Practice is when everything goes right but nobody knows why.   ***
  ***  Here, we have an harmonious mix between theory and practice:   ***
  ***        nothing goes right and nobody knows why.                 ***
Technical Details
Message-ID: <1992Apr8.082956.139@mble.philips.be>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!ub4b!mble.philips.be!stern
References: <92097.223002L28BC@CUNYVM.BITNET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!ub4b!mble.philips.be!stern
From: stern@mble.philips.be
Newsgroups: comp.os.msdos.programmer
Subject: Re: tricky batch - help
Message-ID: <1992Apr8.082956.139@mble.philips.be>
Date: 8 Apr 92 12:53:29 GMT
References: <92097.223002L28BC@CUNYVM.BITNET>
Organization: MBLE , Brussels, Belgium
Lines: 69