Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,677 of 68,980    |
|    Auric__ to All    |
|    Re: A subdirectory Or file x already exi    |
|    10 Nov 20 17:25:20    |
   
   From: not.my.real@email.address   
      
   Auric__ wrote:   
      
   > BugHunter wrote:   
   >   
   >> BugHunter schreef op Di 10 Nov 2020 om 16:23:   
   >>>   
   >>> A subdirectory Or file x already exists   
   >>>   
   >>> Is it possible to suppress this message?   
   >>> Windows 10.   
   >>   
   >> Maybe:   
   >>   
   >> if not exist x md x   
   >>   
   >> ?   
   >   
   > Yes, that works. Alternately:   
   >   
   > md x 2> nul   
   >   
   > Your version checks for x. This one doesn't, but supresses the error   
   > message.   
      
   Correction: supresses *all* error messages.   
      
   --   
   ...a truth, for any sufficiently interesting value of reality...   
      
   --- 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