🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
5 messages
5 total messages Started by Mike Sun, 04 Jun 2000 00:00
Command Line to change Date/time?
#9860
Author: Mike
Date: Sun, 04 Jun 2000 00:00
11 lines
866 bytes
Is there a DOS command to change a file's date
and time stamp?

Sorry if this is off-topic, but I am trying to disguise
a scramdisk volume as a backup file and it will
only work if the date is set appropriately and
maintained.

Thanks,

Blades
Re: Command Line to change Date/time?
#9880
Author: Thomas J. Boschloo
Date: Mon, 05 Jun 2000 00:00
43 lines
2664 bytes
Mike wrote:
> 
> Is there a DOS command to change a file's date
> and time stamp?
> 
> Sorry if this is off-topic, but I am trying to disguise
> a scramdisk volume as a backup file and it will
> only work if the date is set appropriately and
> maintained.

There isn't a command for that in DOS. I wrote a utility called 'touch'
in analogy to the unix command. With it you can set the date and time of
a file to the current date/time. You can use it together with the
command 'DATE' and the command 'TIME'. Don't forget to set the date and
time back afterwards.

If you want, I'll post it here. It's small, written in assembly. I don't
think it will be more than a kilobyte all together with the source in a
..zip file.

But maybe the most secure way to change the date/time of a container, is
to set the date and time of your computer to the date you want, generate
a new container with a good long password (If you're using SD2.02h or
below, the first passphrase will always be available for mounting in
addition to new passphrases. If you don't change the passphrase after
creation, a scramdisk volume could even be detected as being a scramdisk
volume).

After copying all data to the new container, reset date and time to the
current date.

After all, I can't proof that my 'touch' utility isn't some new virus or
trojan you have never heard about before. And I can't send it to your
e-mail address, as you are using a nym and AFAIK the remailers you use
will strip of the attachment I would send you.

Regards & good luck,
Thomas
-- 
We live in the Matrix <http://www.whatisthematrix.com>

http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x225CA009
Email: boschloo_at_multiweb_dot_nl
Re: Command Line to change Date/time?
#9889
Author: Mike
Date: Mon, 05 Jun 2000 00:00
33 lines
1769 bytes
"Thomas J. Boschloo" nospam@multiweb.nl wrote:

>Mike wrote:
>> 
>> Is there a DOS command to change a file's date
>> and time stamp?
>> 
>> Sorry if this is off-topic, but I am trying to disguise
>> a scramdisk volume as a backup file and it will
>> only work if the date is set appropriately and
>> maintained.
>
>There isn't a command for that in DOS. I wrote a utility called 'touch'
>in analogy to the unix command. With it you can set the date and time of
>a file to the current date/time. You can use it together with the
>command 'DATE' and the command 'TIME'. Don't forget to set the date and
>time back afterwards.
>
>If you want, I'll post it here. It's small, written in assembly. I don't
>think it will be more than a kilobyte all together with the source in a
>.zip file.

I appreciate the offer, but I have a utility to change the date/time.
I was under the impression that the scramdisk volumes changed
their dates with each access.  I guess not, but what does change
the dates besides changing the password?
>
<snip>
>
>Regards & good luck,
>Thomas
>-- 
Blades
Re: Command Line to change Date/time?
#9902
Author: Anonymous
Date: Tue, 06 Jun 2000 00:00
14 lines
1880 bytes
On  5-Jun-2000, "Thomas J. Boschloo" <nospam@multiweb.nl> wrote:

> If you want, I'll post it here. It's small, written in assembly. I don't
> think it will be more than a kilobyte all together with the source in a
> .zip file.

Thomas,

I would be interested in such a utility. Please post here.

  --------== Posted Anonymously via Newsfeeds.Com ==-------
     Featuring the worlds only Anonymous Usenet Server
    -----------== http://www.newsfeeds.com ==----------
File date/time modifying 'Touch' utility for MS-DOS
#9906
Author: Thomas J. Boschloo
Date: Tue, 06 Jun 2000 00:00
54 lines
3098 bytes
Anonymous wrote:
> 
> On  5-Jun-2000, "Thomas J. Boschloo" <nospam@multiweb.nl> wrote:
> 
> > If you want, I'll post it here. It's small, written in assembly. I don't
> > think it will be more than a kilobyte all together with the source in a
> > .zip file.
> 
> Thomas,
> 
> I would be interested in such a utility. Please post here.

Here it comes, I signed it with PGP 2.6.3i and used PGP Ascii-armor as a
vehicle to post it to this non-binaries newsgroup (I guess it would be
cancelled at some providers otherwise). I checked it, and it will be as
millenium proof as MS-DOS itself is and it run on MS-DOS 2, 3, 4, 5, 6
till 7. It doesn't support long filenames however :-( But I'm sure
someone with a more current compiler and Ralphs Interrupt Guide than I
have could fix this :-) Just one extra interrupt to change a long
filename to a 8x3 filename would do the job (I don't have current
documentation on this).

More specificly, it will run correctly until 2107 after which the date
will wrap around to 1980 due to the limitations of the old filesystem. I
don't think you'd live to see that happen, and MS-DOS 7 will give up
long before then (after 12-31-2099 23:59:59 it will go to 12-30-2099
0:00:00 on my silly computer).

Excuses for the 'bizar' language I used for a help file. I guess I was
starting to get my first and only psychosis by then ;-)

Assembly (.asm) source included for your pleasure. You can enter 'debug
touch.com' and type 'u' a few times to see the program does nothing
funny, nor is a virus (I wouldn't sign a virus ;-) Nasty FBI would be
looking for me).

Regards,
Thomas
-- 
We live in the Matrix <http://www.whatisthematrix.com>

http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x225CA009
Email: boschloo_at_multiweb_dot_nl



-----BEGIN PGP MESSAGE-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>
Comment: Use the original PKZip for this archive <http://www.pkware.com>

<encoded_portion_removed>
2AIEoe0VE1LwBHizsoGkmIAwD0gfYgapBQA=
=z1zD
-----END PGP MESSAGE-----
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads