What is the *.cf7 file extension? - file-format

At work we have been given a .cf7 file from a client and been expected to know how to access it's contents. We suspect it is some sort of database or accounting records file, most probably propriety, as it was contained in a folder called "books and records".
Has anyone dealt with .cf7 files before? Does anyone know how to use one such file? Opening it in a text editor reveals it is of a binary nature. Any pointers would be greatly appreciated.
Thanks!

Try a product called Cashflow Manager. It also uses the .cf7 extension.

Related

Reconstruct odt file with missing content.xml file

I have an .odt file that's corrupt. I looked online and apparently if you can get to the content.xml file, there's a chance the file can be repaired. However, in my case, when I convert the file to a .zip and extract it, I don't have that file. However, the .odt file is 2.9MB and has content in it when you convert it to a .txt file.
How can I recreate the content.xml file from the .txt file?
You might not want to hear this, but depending on where the corruption happened, there is nothing you can do.
The idea behind the method you are describing is that if the corruption only concerns, for example, the styles.xml, you can still recover the contents by looking at content.xml. For more details on this, see https://en.wikipedia.org/wiki/OpenDocument_technical_specification#Format_internals
However, from your zip extract, it looks like the only uncorrupted file is styles.xml, which doesn't help you much.
What you can try to do is the following: Rename your .odt-File so that it ends in .zip, and then try to recover that file using one of the multitude of tools available on the internet, for example here, until you get a valid content.xml file.

Any way to have multiple font, text size, etc. in a batch file?

As the title says, I don't know if there is any possible way to do things like
Bold, italics, fonts, text size in a batch file, and if I can have different values of them in the same file.
This is something that is probably not possible, but if it is can someone tell me how?
NOTE: I'm not looking to go into properties or what-not. I mean that it's something I can code in.
The two images below were created by a Batch file:
The method used to create such images is fully described at this post.
Since you did not mention what kind of system the batch file should run on I'll give you the answer for the old style one, ANSI.SYS information If you have a more modern system you might want to take a look at Powershell instead. Information on Petri.com

How to get file name when file change is observed via watch_file

I am currently facing an issue which I don't know how to fix. I got the following Julia code:
while true
print(watch_file("test"))
end
So this should get me all the file changes in the directory named "test". At least on windows.
Now thats all well and good, and it kinda works, at least for creating a file or moving a file to that directory. This is an example of what I get:
("New Textfile.txt",Base.FileEvent(true,false,false))
But when I delete or rename that file, I don't get the filename of the file deleted or renamed.
("",Base.FileEvent(true,false,false))
Is there a different method/function I can get the filename with, even when the file is deleted or renamed? Or even better, a way that archives this and is cross-platform-compatible? Any help appreciated.
EDIT: If you could give me an alternative that supports recursive monitoring, that would be even better.
In Linux, Julia 0.4.5 and 0.4.3 watch_file returns file name always. It is a very platform-dependent feature (like in Node.js https://nodejs.org/api/fs.html#fs_caveats) and only manual polling can be truly platform-independent solution.

How to copy the names of the subfolders in a folder, so to use them in a batch program (command line)?

I need to check the files of a versioned system. To do that, I need to write a batcha program so to compare the contents of several folders containing the repositories.
So, my question is: how can I "read" the names of all the subfolders inside a folder, so to use these names later to find subfolders having the same names in a different repositories?
I suppose I may use DIR to print on the screen a list of these names but I don't know how to write it on a text file and then read it. Moreover, I should edit this kind of list, anyway.
Any suggestions or new ideas to solve this problem?
I thank gratefully who ever will answer.
it seems that you can get the subfolders using batch file from perl as follows:
system("start C:\\Temp\\mybatchfile.bat");
or you might try to pass your command suggested by #Stephan straight to system and try to handle what it is returned.

Copy and Paste Files without FileUtil

After browsing on the internet, I have discovered that the Free Pascal compiler Lazarus has a few issues with using the unit "FileUtil", which has the procedures that I need to copy and paste files.
So I thought that I could write procedure(s) that would do it for me. I need the procedure(s) to select a file (of any kind, text, image, etc), to create a copy of the file (With a name like "FileName(Copy)"), and to place the copied file in a hard-coded folder, such as "\test". I'm having a bit of trouble, can anybody help out with code or even another library that can do the same as FileUtil?
I'm open to ideas as my previous attempts have crashed and burned. Thanks a lot in advance!

Resources