home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 41,070 of 42,547   
   Kerr Mudd-John to All   
   Re: [MSDOS7] if ".echo off"==".echo off"   
   25 Dec 14 09:53:17   
   
   From: admin@127.0.0.1   
      
   On Thu, 25 Dec 2014 01:19:30 -0000, foxidrive    
   wrote:   
      
   > On 25/12/2014 07:07, Nick wrote:   
   >   
   []   
   >>   
   >> What I'm wanting to do with the code I posted is to test if 'SET'   
   >> handle the /P   
   >> switch, i.e. is able to create a variable, and assign a users input as   
   >> it's   
   >> value.   
   >   
   >   
   > @echo off   
   > set /p=anul   
   > if .%/p%==a. echo D'oh!   
   >   
   Nice!   
   >   
      
      
   --   
   Bah, and indeed, Humbug   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca