VOGONS


First post, by Graham21

User metadata
Rank Newbie
Rank
Newbie

Hello All,

I searched for the solution but found too many things with the word "date" in them.

I'm loading an old program, nothing sexy or interesting.

It loads just fine in DOSBox - amazing, after all these years - great job boys!!!

But, I need to set the date to work around the built in securiety we put in there back in 1995.

On an isolated box (old ass Toshiba running Win7), I can set the system date and move forward.

But, I'm trying to get some work done on my main box so I can't set the system time.

Here's the question:
- How can I set the date in DOSBox that won't affect the host system?
- Can I build this into a simple .bat file?

After loading DOSBox, I can't type c:\>date, it returns Illegal command: date. So, that's a problem I would guess.

Any thoughts?

Thanks,
Patrick

Reply 1 of 10, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

DOSBox doesn't do that, but if you boot a DOS image inside DOSBox you can probably do that. You only lose the quick and easy access to your system folders.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 2 of 10, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

SVN has a DATE command. In 0.74 you can use the 4DOS shell to get a DATE command.

Reply 4 of 10, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

Why though, when as ripsaw says DOSBox already has an internal date command (and has had it for over 8 years).

Reply 5 of 10, by latalante

User metadata
Rank Newbie
Rank
Newbie
ripsaw8080 wrote:

SVN has a DATE command. In 0.74 you can use the 4DOS shell to get a DATE command.

I read that only the SVN version has the date built-in command.
If it also exists in older versions, then an external program is actually unnecessary.

Reply 6 of 10, by Graham21

User metadata
Rank Newbie
Rank
Newbie

Wow, I'm speechless, I had no idea how robust and engaged this group was - WOW!

Thank you all.

Quick question, which one do you want me to download - I'm using WinX to host DOSBox. No compiler or skill set to do so.

Which one?
DOSBox-screen-grag.jpg

Reply 7 of 10, by Graham21

User metadata
Rank Newbie
Rank
Newbie

...also, none of these appear to be executable files - they look like source code.

Please tell me which one to download, what do I do with it?

Thanks,
Patrick

Reply 8 of 10, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The bottom one is the safest bet.
You need 7zip to extract it.

Water flows down the stream
How to ask questions the smart way!

Reply 9 of 10, by Graham21

User metadata
Rank Newbie
Rank
Newbie

A Thing of Beauty is a Joy Forever
Main-Screen.jpg

That worked perfectly!

Again, thank you all so much!

Patrick

Reply 10 of 10, by Graham21

User metadata
Rank Newbie
Rank
Newbie

How do I set the Options for this version - I don't need it to be 3000 Cycles and such.

Thanks,
Patrick