home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / win3l / 12778 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.4 KB  |  35 lines

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