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,676 of 68,980    |
|    Auric__ to BugHunter    |
|    Re: A subdirectory Or file x already exi    |
|    10 Nov 20 17:24:37    |
   
   From: not.my.real@email.address   
      
   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.   
      
   --   
   - Everything adults like is stupid.   
    - But I like you.   
   - My point still stands.   
      
   --- 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