Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > Re: Changing Fi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 17 Topic 401 of 502
Post > Topic >>

Re: Changing File Date...

by Wildman <wildman@[EMAIL PROTECTED] > May 27, 2006 at 03:28 PM

On Sat, 27 May 2006 17:18:24 +0200, Herbert Kleebauer <klee@[EMAIL PROTECTED]
>
wrote:

>Wildman wrote:
>> On Fri, 26 May 2006 16:11:29 -0700, JoAnne <mwsoft@[EMAIL PROTECTED]
> wrote:
>
>> either in-line assembly or assembly librarys, you can do it
>> using INT 21h AX=5701. 
> 
>> There is a down side.  If the basic program or dos utility
>> is running on a windows platform, the drive must be
>> locked first and then unlocked.
>
>Why do you think the drive has to be locked? The following
>batch sets the date of all files in the current directory
>to Dec 1999 and works in Win9x and W2k. But because it uses 
>INT 21h AX=5701 it only sets the "last modified" but not the
>creation date.
>
I'm not a batch programmer so I can't speak to that.  But I
do know for a fact that the utility I referenced, DIRDATE,
will not work under Win9x unless the drive is locked and
it won't work at all under Win2k/NTFS.  Since the original
poster was talking about BASIC, I assumed DOS where
the last modified and creation time/date are one in the
same.

<Wildman>

*** Posted via a free Usenet account from http://www.teranews.com
***
 




 17 Posts in Topic:
Changing File Date...
JoAnne <mwsoft@[EMAIL   2006-05-26 16:11:29 
Re: Changing File Date...
Wildman <wildman@[EMAI  2006-05-26 22:30:29 
Re: Changing File Date...
Herbert Kleebauer <kle  2006-05-27 17:18:24 
Re: Changing File Date...
Wildman <wildman@[EMAI  2006-05-27 15:28:48 
Re: Changing File Date...
erewhon@[EMAIL PROTECTED]  2006-05-27 10:22:27 
Re: Changing File Date...
JoAnne <mwsoft@[EMAIL   2006-05-27 16:27:51 
Re: Changing File Date...
erewhon@[EMAIL PROTECTED]  2006-05-28 13:47:43 
Re: Changing File Date...
Herbert Kleebauer <kle  2006-05-28 16:44:59 
Re: Changing File Date...
JoAnne <mwsoft@[EMAIL   2006-05-29 14:03:40 
Re: Changing File Date...
Herbert Kleebauer <kle  2006-05-30 00:07:31 
Re: Changing File Date...
Wildman <wildman@[EMAI  2006-05-30 19:10:22 
Re: Changing File Date...
Herbert Kleebauer <kle  2006-05-31 12:41:46 
Re: Changing File Date...
Wildman <wildman@[EMAI  2006-05-31 07:29:59 
Re: Changing File Date...
Herbert Kleebauer <kle  2006-05-31 15:30:13 
Re: Changing File Date...
Wildman <wildman@[EMAI  2006-06-02 19:43:21 
Re: Changing File Date...
Dr John Stockton <jrs@  2006-05-28 21:27:23 
Re: Changing File Date...
Timo Salmi <ts@[EMAIL   2006-05-31 07:54:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 19:33:23 CDT 2008.