MSFN Forum: How to change Win98SE system files's date attributes? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to change Win98SE system files's date attributes? Rate Topic: -----

#1 User is offline   KamyKaze 

  • Group: Members
  • Posts: 3
  • Joined: 13-March 06

Posted 13 March 2006 - 08:20 AM

Ok! So I've installed, customized and tuned up my system (98 SE SP 1.1 + 98SE2ME + Maximum-Decim USB drivers + others) but only now I noticed that a lot of my OS files show 2017 or 2031 modified and created dates!

After setting straight the system clock I'm now faced with the choice of either date stamping the affected files or starting all over :wacko:

I DLd and tried various date stamping utils for Windows that fail to correct the problem. I think they're stopped by Windows system file protection mechanisms.
DOS could possibly be the solution but, although I did find a TOUCH.EXE

1- I'm not sure if it is compatible with windows files (32b, LFN & all that)
2- I don't know/remember how to feed it the list of files/folders to change.
3- In fact I don't know how to generate that list(s) (no search by date on DOS).

Any help most appreciated.

This post has been edited by KamyKaze: 13 March 2006 - 11:50 AM



#2 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 13 March 2006 - 10:56 AM

Does not "Properties Plus" work ?

http://fileforum.betanews.com/detail/Prope...lus/950908048/1

#3 User is offline   KamyKaze 

  • Group: Members
  • Posts: 3
  • Joined: 13-March 06

Posted 13 March 2006 - 12:02 PM

Well I don't know, does it?

I cannot test it because the publisher's site no longer lists it.
If you think you know an app that works please test stamp some system folder like History or Nethood.

Thanks for the reply anyway :)

#4 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 13 March 2006 - 01:56 PM

I found you a download link here :

http://mikrocomputertechnik.fh-mannheim.de...65/pplus165.exe

I thought you wanted to stamp files, not folders. I don't think it does stamp folders. Anyway you can try it now. What it can do is batch stamping of files within subfolders.

This post has been edited by eidenk: 13 March 2006 - 01:58 PM


#5 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 8,792
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 13 March 2006 - 02:15 PM

No, file date stamps are "easy", folders are NOT.

The only FREEWARE I found capable of doing so is this one:
http://webplaza.pt.l...es/support.html
but I don't know whether it works in Win98...

and this one (but folder are ONLY done under Win2K/XP):
http://home.worldonline.dk/ninotech/


but since it will be a one-time-only use, you could "try" this one:
http://www.attribute...c_standard.html

jaclaz

#6 User is offline   eidenk 

  • MSFN Addict
  • PipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,527
  • Joined: 28-March 05

Posted 13 March 2006 - 03:07 PM

View Postjaclaz, on Mar 13 2006, 02:15 PM, said:

No, file date stamps are "easy", folders are NOT.

The only FREEWARE I found capable of doing so is this one:
http://webplaza.pt.l...es/support.html
but I don't know whether it works in Win98...

jaclaz


I've just tried it on ME. It doesn't do timestamp on folders apparently. That area of the app is entirely disabled.

It is still superior to the one I posted as you can change folder attributes.

#7 User is offline   KamyKaze 

  • Group: Members
  • Posts: 3
  • Joined: 13-March 06

Posted 13 March 2006 - 03:45 PM

From the F.A.Q of that Petges freeware:

Quote

Why are date/time options for folders grayed on Windows 9x and Me ?

Setting date/time on folders requires a directory handle, but there is no way to get this information from the Win32 API on the Windows 9x platform. This information can only be obtained on Windows NT/2000 and XP systems.

Also I've tried Attribute Magic without sucess but with more informative messages. For folders it's still "Acess denied" (probably for the reason above) but for files it cannot change it informs that they're "being used by running processes".

So I feel I'm trying to move the car by pushing while I'm in it. Maybe I can push it if I get out. To DOS that is.
Problem is while there are tens of this utils for windows they are prety rare and undocumented for DOS :(

#8 User is offline   Petr 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 981
  • Joined: 15-April 05
  • OS:98SE
  • Country: Country Flag

Posted 13 March 2006 - 05:25 PM

I don't know if it can solve your problem but Total Commander can change folders date/time.

Petr

#9 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 8,792
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 14 March 2006 - 02:20 AM

UPDATE!
Maybe this one is the right one:
http://www.crystalso...au/dirdate.html

As it has a command line 16 bit version, possibly you can run it starting Win9x without GUI, thus you want have files "being used by running processes".

Not FREEWARE, though, cannot say if the trial is fully functional..

jaclaz

#10 User is offline   MDGx 

  • 98SE2ME + 98MP10
  • Group: Super Moderator
  • Posts: 2,677
  • Joined: 22-November 04
  • OS:none specified
  • Country: Country Flag

Posted 19 March 2006 - 08:28 AM

For the purpose of changing folder/directory attributes, the DOS mode ATTRIB.EXE works just fine in any version of Windows.
Moreover, Windows will not complain [in most cases] that it has folders in use, only files in use.
Therefore one can change most folder attributes from a DOS box [example]:

attrib c:\progra~1 -r +a
attrib %windir%\fonts -h -r -s
attrib %windir%\inf -h
attrib %windir%\sysbckup -h

Note that in order to change a folder atrributes using attrib.exe you must type the folder name not followed by any backslash nor file name(s) nor "wild" cards.
The only annoyance is that you can't change subfolders attributes the same way you do with files, unfortunately the /S switch doesn't work with subdirectories.
Also, you can't use wild cards to change attributes of multiple folders, you must specify exact LFN [surrounded by quotation marks in a DOS box] or SFN folder name [in native MS-DOS mode].

In the rare cases when Windows pops up a nag dialog like "this folder... is is use", you need to exit/reboot Windows 9x/ME to native/pure MS-DOS mode, and then run attrib from there.
If running an NTx OS, just dual-boot to Win9x/ME or with the "recovery console" option from the boot menu:
http://www.mdgx.com/newtip21.htm#WRC

The only system folder you do *not* want to change attributes is %windir%\Downloaded Program Files [short name: %windir%\DOWNLO~1]. This folder *must* have the System (S) attribute for Windows to recognize its files as properly installed ActiveX [OCX] +/- OSD controls. And this is valid for all 9x + NTx OSes.
To view this folder's contents:
create a new folder on your Desktop with this name:

ActiveX Controls Folder.{88C6C381-2E85-11D0-94DE-444553540000}

You can change/add/delete any characters before the dot [.], to match the name you want.
Must not change any characters after the dot.

Then to change its attributes, run:

attrib -s %windir%\DOWNLO~1

Press F5 to refresh the Desktop.
Then open the new folder [see above] on your Desktop.
You'll notice all "Installed" strings under the Status column are gone.
Now restore its attributes:

attrib +s %windir%\DOWNLO~1

Press F5.
You'll notice that all "Installed" strings are back. ;)

Hope this helps.

#11 User is offline   erpdude8 

  • MSFN Master
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,062
  • Joined: 24-November 04

Posted 21 June 2006 - 09:06 PM

View PostMDGx, on Mar 19 2006, 09:28 AM, said:

For the purpose of changing folder/directory attributes, the DOS mode ATTRIB.EXE works just fine in any version of Windows.
Moreover, Windows will not complain [in most cases] that it has folders in use, only files in use.
Therefore one can change most folder attributes from a DOS box [example]:

attrib c:\progra~1 -r +a
attrib %windir%\fonts -h -r -s
attrib %windir%\inf -h
attrib %windir%\sysbckup -h

Note that in order to change a folder atrributes using attrib.exe you must type the folder name not followed by any backslash nor file name(s) nor "wild" cards.
The only annoyance is that you can't change subfolders attributes the same way you do with files, unfortunately the /S switch doesn't work with subdirectories.
Also, you can't use wild cards to change attributes of multiple folders, you must specify exact LFN [surrounded by quotation marks in a DOS box] or SFN folder name [in native MS-DOS mode].


You can also change the folder attributes within the File Manager [winfile.exe] applet. Just be sure to set File Manager to view Hidden & System files/folders.

View Postjaclaz, on Mar 13 2006, 03:15 PM, said:

No, file date stamps are "easy", folders are NOT.

The only FREEWARE I found capable of doing so is this one:
http://webplaza.pt.l...es/support.html
but I don't know whether it works in Win98...


Attribute Changer does work on all 9x and NT-based versions of Windows. it's too bad the author did not list the full Windows requirements for that program on his web site. I'll make that suggestion to post that up on his site.

#12 User is offline   Fredledingue 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,139
  • Joined: 10-February 05
  • OS:98SE
  • Country: Country Flag

Posted 22 June 2006 - 05:31 PM

FildeDate Changer

;)

#13 User is offline   CLASYS 

  • Windows installer, chief cook and bottlewasher
  • PipPip
  • Group: Members
  • Posts: 218
  • Joined: 29-November 04

Posted 23 June 2006 - 04:49 AM

At
http://tp.lc.ehu.es/jma/win95.html
get
touch210.exe


Does files, folders, etc.

freeware

cjl

#14 User is offline   erpdude8 

  • MSFN Master
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,062
  • Joined: 24-November 04

Posted 03 August 2006 - 02:53 PM

View Posterpdude8, on Jun 21 2006, 10:06 PM, said:

Attribute Changer does work on all 9x and NT-based versions of Windows. it's too bad the author did not list the full Windows requirements for that program on his web site. I'll make that suggestion to post that up on his site.


oops. not so. Attribute Changer (latest versions) does NOT work under windows 95. the "Change Attributes" menu command does not show up when right-clicking on a file, folder or drive as I had tested myself (whether IE Desktop Update is installed or not). Change Attributes option will appear in win98/me/2000/nt4/xp but not win95.

I didnt realize this but Zabkat's xplorer2 lite/pro tool (a Windows Explorer replacement) has the option to change attributes, including Created and Modified dates. xplorer2 lite or professional edition can be downloaded here:
http://www.zabkat.com/alldown.htm

This post has been edited by erpdude8: 03 August 2006 - 02:55 PM


#15 User is offline   erpdude8 

  • MSFN Master
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,062
  • Joined: 24-November 04

Posted 07 August 2006 - 02:21 PM

View Posterpdude8, on Aug 3 2006, 03:53 PM, said:

oops. not so. Attribute Changer (latest versions) does NOT work under windows 95. the "Change Attributes" menu command does not show up when right-clicking on a file, folder or drive as I had tested myself (whether IE Desktop Update is installed or not). Change Attributes option will appear in win98/me/2000/nt4/xp but not win95.


only the 5.x versions (currently the author of Attribute Changer has version 5.21 and 5.23 posted at his site) are not Win95 compatible. I have done searches of older versions of Attribute Changer and found these old ones that can work under Win95.

Attribute Changer 4.20:
(this one should work under Win95 BUT requires IE 4.x/5.x installed since AC 4.20's Help file is a CHM file and CHM files can only be viewed in HTML Help applet but HTML Help requires IE). Go here first:
http://www.jconline....ist.asp?id=4212
then click on the download link from there. If that does not work try this link:
ftp://guest:guest@ft...n/softnt/ac.exe

Attribute Changer 4.0a:
http://wcarchive.cdrom.com/pub/simtelnet/w.../fileutl/ac.exe
This one also requires IE 4.x/5.x and HTML Help to view the CHM file but should also work under Win95.

Attribute Changer 3.0a:
ftp://ftp.hs-niederr...er/attrchng.exe
this one should work under Win95 with or without IE and uses older help file [HLP].

This post has been edited by erpdude8: 07 August 2006 - 02:33 PM


#16 User is offline   davk_88 

  • Group: Members
  • Posts: 1
  • Joined: 08-August 06

Posted 08 August 2006 - 03:10 PM

A little commandline utility to touch files, directories and lowercase all names.

I use it for touching software versions.

Tricky business to do this to directories in Win9x - you have to use undocumented kernel functions that
access the MSDOS lfn functions that the gui (windows) uses for its file access.

usage:

"tlc /h" gives help
"tlc" lower cases all file, directory names in all subdirectories recursively
"tlc D:dd:mm:yyyy T:hh:mm:ss" lower cases and stamps every file and subdirectory as above.

hope you find it useful

Attached File(s)

  • Attached File  tlc.zip (2.05K)
    Number of downloads: 19


#17 User is offline   erpdude8 

  • MSFN Master
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,062
  • Joined: 24-November 04

Posted 08 August 2006 - 03:15 PM

View Posterpdude8, on Aug 7 2006, 03:21 PM, said:

only the 5.x versions (currently the author of Attribute Changer has version 5.21 and 5.23 posted at his site) are not Win95 compatible. I have done searches of older versions of Attribute Changer and found these old ones that can work under Win95.


more accurately, Attribute Changer versions 5.20 and higher do not support and do not work under Win95.
I happen to find version 5.10 of AC here:
http://www.internets.../pc_1727/ac.exe
This one does work under Win95 but requires HTML Help and IE installed.

and thanks davk_88 for the TLC tool. I'll test it out when I have the time.

#18 User is offline   erpdude8 

  • MSFN Master
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,062
  • Joined: 24-November 04

Posted 15 September 2006 - 09:35 PM

View Posterpdude8, on Aug 8 2006, 04:15 PM, said:

and thanks davk_88 for the TLC tool. I'll test it out when I have the time.


then again maybe not. I'll stick with programs that use GUI instead of command line interface to change the date/time attributes

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy