home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8649 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.1 KB  |  38 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uunet.ca!geac!zooid!ross
  3. From: Ross Ridge <ross@zooid.guild.org>
  4. Subject: Re: A batch programming contest for you
  5. Organization: ZOOiD BBS
  6. Date: Thu, 20 Aug 1992 02:23:38 GMT
  7. Message-ID: <1992Aug20.022338.16416@zooid.guild.org>
  8. References: <1992Aug18.052017.3758@uwasa.fi> <1992Aug19.065119.10003@cs.ubc.ca>
  9. Lines: 27
  10.  
  11. yogi@cs.ubc.ca (Yossi Gil) writes:
  12. >My trick is to create
  13. >    shell=command.com /p nul line in my config.sys file. This will
  14. >make command.com start with the nul device as its standard
  15. >input/output. It is undocumented, but worked in all of the many dos
  16. >versions I have tried it on.
  17.  
  18. It's documented in the MS-DOS 5.0 manual.
  19.  
  20. >    <NUL> con ver 
  21.  
  22. >not mentioning
  23. >
  24. >    if not if == not shift else ; endif 
  25. >
  26. >These may prove useful to encrypt your batch files. 
  27.  
  28. Encrypt?  Try lightly obfuscated, you're not going to fool many
  29. people with above tricks, not for long at least.
  30.  
  31.                             Ross Ridge
  32.  
  33. -- 
  34. Ross Ridge - The Great HTMU                         l/     //
  35.                                     [OO][oo]
  36. ross@zooid.guild.org                            /()\/()/
  37. uunet.ca!zooid!ross                             db     //
  38.