Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

BATCH script to save DATE to a variable (Users)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 01.03.2025, 12:15

> > I wrote this script after reading some of Timo Salmi's FAQs.
>
> I appreciate the minimalist approach, but perhaps a simple debug script or
> assembly tool would be cleaner. (Or even using REXX or 4DOS.)
>
> > This saves the current date to the variable date_ so it can be used
> later.
>
> Many DOS shells already provide this. What particular environment(s) are
> you targeting?

There's a problem with translating this to assembly language: Finding and writing to the correct parent process's environment block is a hurdle.

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22477 Postings in 2087 Threads, 400 registered users, 122 users online (0 registered, 122 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum