1. O F F - T O P I C

All,

        I know I have done this before, but can not remember how.
I need to change the Last Modified Date on a DOS File, but I do
not need to Modify the file in any way, is there some one who
knows how this is done?

Thanks in Advance for any help.

--
+ + +  Rev. Ferlin Scarborough  -  Centreville, Alabama  -  USA

email: ferlin at sandw.net
email: ferlin at email.com

new topic     » topic index » view message » categorize

2. Re: O F F - T O P I C

Ferlin wrote:

>        I know I have done this before, but can not remember how.
>I need to change the Last Modified Date on a DOS File, but I do
>not need to Modify the file in any way, is there some one who
>knows how this is done?

In DOS, type the following on the command line:

COPY filename.ext +

This will update the file's Last Modified Date without changing the file's
contents.


Be seeing you,
   Gabriel Boehme


(BTW, way to bypass any "OFF-TOPIC" filters people might have!)


 ------
The decay of society is praised by artists as the decay of a corpse is
praised by worms.

G.K. Chesterton
 ------

new topic     » goto parent     » topic index » view message » categorize

3. Re: O F F - T O P I C

"Boehme, Gabriel" wrote:
>
> In DOS, type the following on the command line:
>
> COPY filename.ext +
>
> This will update the file's Last Modified Date without changing the file's
> contents.
>

Thanks worked like a charm, it allowed me to get around a pascal
compiler error about a unit needing to be rebuilt, I did not have
the source for the original unit,  Program compiled and runs like
a river.

Later,

+ + +  Rev. Ferlin Scarborough  -  Centreville, Alabama  -  USA

email: ferlin at sandw.net
email: ferlin at email.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu