home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!UNC.BITNET!UCHUCK
- Message-ID: <WIN3-L%93012214410351@UICVM.CC.UIC.EDU>
- Newsgroups: bit.listserv.win3-l
- Date: Fri, 22 Jan 1993 15:39:00 EST
- Sender: Microsoft Windows Version 3 Forum <WIN3-L@UICVM.BITNET>
- From: "Chuck Bennett (919)966-1134" <UCHUCK@UNC.BITNET>
- Subject: Re: getting strings in a batch file
- Lines: 24
-
- I believe that the Norton Utilities has what is called a Batch Enhancer
- that can perform these feats for you.
-
- Chuck
-
-
- > From: George G Galdiano
- >
- > I am writing a batch file our network managers can use to backup a user's
- > system files. I would like to make it flexible enough to work on any system.
- > To do this, I need to be able to get strings from within the batch file. For
- > example, I want to ask for a user's initials and store it in %1 or some other
- > variable. I want to get the destination to the user's window's directory and
- > store that in a batch file.
- >
- > I know i can get it all from the command line (IE batchfil JDS C:\WINDOWS). If
- > I have a batch file called batchfil JDS (a user's initials) will be stored to
- > %1 and C:\windows will be stored to %2. But I want to set these variables from
- > within the batch file. Any ideas?
- >
- > George G Galdiano
- > Programmer/Analyst I
- > CSC SIMS
- > Phone: (409)845-3064
-