Advertisement

Change data file attributes via CHS macro

Discussions about chromatography data systems, LIMS, controllers, computer issues and related topics.

5 posts Page 1 of 1
Hello to everybody. I would like to secure my ChemStation data files a little.
I would like to change their attributes with macro to Read only immediatelly when the data are collected vith Post Run Command/Macro (in Run Time Checklist). Is it possible?

Can you give me a small hint?

Thanks
OK I answer myself...

ExecNoWait "Attrib drive\path\filename +R"
You would get better data-security to attach your instrument PC to another PC, and set up a suitable process to copy over new data-files every 30min or so. This gives you a spare copy on a different computer, so if the hard drive of instrument PC goes up in a puff of smoke, you don't lose any data.
... oh, of course, there are lots of more professional solutions to what I just suggested, but I was going for the really easy one...
You would get better data-security to attach your instrument PC to another PC, and set up a suitable process to copy over new data-files every 30min or so. This gives you a spare copy on a different computer, so if the hard drive of instrument PC goes up in a puff of smoke, you don't lose any data.
Such kind of protection I applied some years ago. New data files are copied once per day on fileserver with mirrored disk. I tried to find possibility how to protect data against accidental overwriting. Maybe better than Attrib will be change of user rights with Cacls. OS is Win2000 with the latest service pack, files are stored on NTFS disk. I know there is professional solution for this but it is quite expensive. :wink:

Thank you lmh for comments.
5 posts Page 1 of 1

Who is online

In total there are 29 users online :: 1 registered, 0 hidden and 28 guests (based on users active over the past 5 minutes)
Most users ever online was 5108 on Wed Nov 05, 2025 8:51 pm

Users browsing this forum: Google Adsense [Bot] and 28 guests

Latest Blog Posts from Separation Science

Separation Science offers free learning from the experts covering methods, applications, webinars, eSeminars, videos, tutorials for users of liquid chromatography, gas chromatography, mass spectrometry, sample preparation and related analytical techniques.

Subscribe to our eNewsletter with daily, weekly or monthly updates: Food & Beverage, Environmental, (Bio)Pharmaceutical, Bioclinical, Liquid Chromatography, Gas Chromatography and Mass Spectrometry.

Liquid Chromatography

Gas Chromatography

Mass Spectrometry