Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

EDR-DOS development (Announce)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 30.08.2023, 09:47

> > Actually, I noticed that to non-interactively overwrite a file using > COPY, > > FreeCOM requires the COPY switch /Y, while EDR-DOS command defaults to > > overwriting. I > added > > a /Y switch to EDR-DOS, which is a no-op by default. (It does > > override /C if both are used.) This makes my modified > make.bat > > files fully work on both shells. > > %COPYCMD% was > introduced in, what, MS-DOS 5? In .BAT files, COPY defaults to /Y, > otherwise if interactive it asks you before overwriting. Oh, right, FreeCOM does default to overwrite without asking in a batch file. I hadn't considered that it may differ.

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22825 Postings in 2129 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum