Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

OT- NTFS behavior


kwolf
 Share

Recommended Posts

Hi,

 

I don't want updating timestamp of a folder in NTFS partition when I copy a file to it or when I delete files from it.

It's ok to change file timestamp but I want folder timestamp to be the same as their Creation Date and never change.

Is there a way ? A change in registry value ? A service ?

 

Thanks

Link to comment
Share on other sites
  • 2 weeks later...

Make folder names using names like millingcover12_01_04 and don`t dig it deeper .

Why at all it is so important to you ?

My structure is like this

c:cncmill2004clientnameprojectnamepartnameall the files for this part (dwg,dxg,Iges,Sat,xml,doc,X_T,sldprt ,MC9 and all other files .

All not actual (old ,wrong files ) are deleted or put under trhe name bad.rar for futhure posssible reference .

HTH

ETHH

Link to comment
Share on other sites

Windows XP by default only displays the create date on the Properties dialog.

ntfs_dir.jpg

 

But if you want to disable the logging of that entirely, go to HKLMSYSTEMCurrentContolSetControlFilesystem in your Registry and look for a value called NtfsDisableLastAccessUpdate. If it's not there, create a new DWORD value called that and set it's value to 1.

 

In the Win32 API there's a GetFileTime() function but no SetFileTime() one. Which is too bad 'cause that could be loads of fun biggrin.gif

Link to comment
Share on other sites

This is sad reality .

Those who use assembler or C they are not limitied to WinApi functions .

Self modificating file or directory preserving date or changing it as it wants is old feature of some viruses .

I am not virus writer ,I do not program now ,but

when I learned C I saw some functions that can

do direct writing to the files table .

Yes ,it was not NTFS ,but I am sure there is a way too.

With assembler knowledge it is even easier .

Anyway there is nothing wrong with it ,it is Windows administration policy ,that`s all .

If I want to preserve a date ,I promptly write it in file`s name ,and that`s all.

Dirty ,but simple and always works .

Regards

Link to comment
Share on other sites

Bullines,

I had changed it with "FSUTIL" command and the registry shows that the value set to 1.

But this hasn't any effect on folder timestamp.

Whenever I copy a file to a folder , the folder timestamp will be updated.

Is there a way to set timestamp to its creation date each time it wants to change?

 

Iskander,

What's your approach with Total Commander?

It sorts with last access time on NTFS not with creation date. frown.gif

Link to comment
Share on other sites

As I told you If creation for me is important

I write name in this manner

Elblabla12345sideDver1_11_01_04 and place it in the folder ClientblablaprojetOHAHA_ver1_11_01_04

in folder millimg in folder 2004

If you want sort by date use other form of name

11_01_04_***********************

and when you sort files by name they will also be sorted by creation date !

Well ,all three of us smile.gif use such approach :

Let`s say you look for a part ggg from client nnn

If I do not sure what year it was made I use search command from Windows commander and drop result in feed box and look from there

 

All files have standart name :

el - electrode

pl -plate

FR - frame

IN - insert

and so on

Every name has relation to what side of mold this electrode or plate ,

name of the part and date ,so it is relatevly easy thing.

 

Teh obstinate oldtimer biggrin.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...