.txt file - how to know if file has been changed? - txt

I have a .txt file and I have to know if it was changed... Txt file is some conversation between my customer and my colleague. Is it hack conversation from him because he delete it and he say "i will show you the true" The colleague isnt fair I think he changed this chat.. Can somebody help? Thank you.
I didnt try anything

I think if you don't have a backup then you can see the modified date in windows (if you have other OS you will also find these options in file explorer)

Related

SunOS sccs - How do I edit files checked out by people who no longer work here

I have a problem. the documentation assumes that people who checked out the files a long time ago can be contacted, log in and check out their changes.
https://docs.oracle.com/cd/E19455-01/806-1075/msgs-1307/index.html
I am logged in to a SunOS box where I need to discard edits made by people who no longer work here. How do I do it?
Quick answer.
sccs uses files.
In the SCCS directory (subfolder) the are files with almost the same name as the file being checked out.
Iirc:
Most of these are "s.", but there are a few others with relation to what state the files are in.
The s. files are big, the other files are small.
You should see a file in the SCCS folder that starts "p.", I think, and it should contain the username or the person checking the file out. Delete the file and the record of the checked out file will be removed.
You'll also want to delete the filename from the parent directory, so that it can be checked out of the library easily.
There are other ways around it using sccs, but this is the easiest way to fix your issue.

How to set directory-property comments

I'm trying to find a way to set comments with powershell for a directory.
How can I set for a folder comments (like contains contact files)?
Thanks for infos
This is a quite interesting question so i quickly did a bit of research. It is not as trivial as one would hope. In fact at least on W10 its basically impossible to do it via UI but i found a way to do it with Powershell:
First you have to make the Folder a system folder (somehow comments are only shown on system folders on my machine, got to test on yours yourself):
attrib +s <Folderpath>
Not sure if we can do it with a cmdlet (probably but no time to research right now).
Then you have to create a "Desktop.ini" file inside the folder like so:
"[.ShellClassInfo]","Infotip=YOUR COMMENT HERE"|Out-File <Folderpath>\Desktop.ini
and thats basically it :)

Powershell: informations about last Windows graphical copy

This is my first post in stackoverflow, so hi to everybody!
I have a strange question. I'm searching for a way to get informations about the last Windows copy with PowerShell (version 3.0). For example, I copy (graphical way, not throw Powershell) one file from one destination to another and than I want to get information about this copy with Powershell (I need only the last copy operation). Exist a way to have this information?
Thanks a lot and sorry for my bad english!
Federico
This question fits better on SuperUser as you would need to enable file auditing, have a look here:
https://superuser.com/questions/521945/file-auditing-in-windows

How can I see code for nib/xib files?

Is it possible for us to see the source code generated behind the out of xib/nib files (I know they are xml files)?
I heard about NIBTOOL but I believe it is no longer available or replaced by some other tool which I cannot find. Does anyone know about it?
Thank you very much for responses.
Nitish edited answer is : Just right click on nib file and Open As Source Code

Writing a macro

I'm mostly new to programming and so I have come here for some help.
Recently, at work, the program that we have used for years has drastically changed and all of our old file types are no longer supported. This has left us completely out in the cold as to how we can access our old files without using the older software. With that being said, here is my problem with macros that I'm in need of help:
I need to be able to open a file in a specific program, copy all the text in the file, paste the text into a new notepad document and then save the notepad file with file's original name as a simple text document. I need to do this to an entire folder (and eventually folders within a folder but that can wait for now)
If I need to clarify anything let me know. Like I said, I'm new to this stuff and I'd appreciate any tips you guys could give me.
Since you mention Notepad, I'll assume that you are working in Windows. In that case, you're probably best off writing it in PowerScript. I don't have the skills for that, but if you add "Windows" and "PowerScript" to the tags, you may have a better chance of find someone sho does. (You may want to try this question over at SuperUser)