How can I execute FCIV and obtain a hash for a file using VBA?
1
There are 1 best solutions below
Related Questions in FILE
- Saving FileSystemInfo Array to File
- C programming: Create and write 2D array of files as function
- How can I change a specific line in a file with node js?
- Grabbing Edits from two strings
- In Android, would it be possible to open a file in the 'values' folder and to read its content?
- Using paths bonded to a XCode project to be shared
- Why am i getting these invalid characters before my file data?
- Optimum directory structure for large number of files to display on a page
- C Reading binary file with fread()
- Renaming a File() object in JavaScript
- How to write the current time to a new line of a .txt file on php execution
- introduce c++ into html
- How can I create a simple text file on a windows phone (8.1) that can be accessed trough USB cable?
- Pop-up and download zip file in ASP.NET
- Using access() in C
Related Questions in VBA
- Import from api into multiple excel cells
- Loop through list of files and open them
- Pull and push data from and into sql databases using Excel VBA without pasting the data in Excel sheets
- Loop with equation for upper limit
- excel vba null value in array
- TextToColumns function uses wrong delimiter
- Access Global not working
- Concatenate string and number as number
- How do I extract info from crunchbase
- Excel needs to pull substring values to variables
- Act on Outlook mail item when opened for editing
- Macro is not working
- Excel 2013 VBA opening multiple windows for a single workbook
- Hyperlink directs to hidden row
- How to modify data in a range of a column of cells that are not blank
Related Questions in FCIV
- Creating Simple Custom Context Menu Commands - How can a VB Script be made to run that uses the file path/name that was right clicked?
- Windows FCIV md5chucksum utility doesn't have the right md5sum when export to xml
- how to write into an xml using vbscript
- how do i input a parameter explicitly from outside to the program in vbscript?
- Invoke FCIV within Powershell Script
- CSUM's md5 calculation is different from fciv
- Get FCIV (or same) checksum in VBA
- Generate checksum in vbscript
- Checksum of file in vbscript
- Get FCIV to scan hidden files within a batch script
- Powershell: FCIV script error: "Cannot find path because it does not exist"
- Why isn't "fciv" command correctly recognized in Batch files with "for" cycles?
- Command line utility or C# code to compute 200,000 file changes in a directory hierarchy quickly?
- SQL Server data type for base64-encoded SHA1 hash values output by FCIV
- Why hash code values are different for different tools?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Every pure VBA implementation I have seen has been painfully slow (sometimes over a minute per file). There may be a way to do this by tapping a Windows COM library but I am not currently aware of any such method. (I hope someome knows of one though and you'll see why in a second:)) The best I have been able to come up with is a somewhat ugly workaound so the following suggestion may not be suitable in all scenarios but there is a very fast command line utility available from MS here: http://support.microsoft.com/kb/841290. The utility does MD5 and SHA1. Although the site says it's for Windows XP I can verify it works with versions up through and including Windows 7. I haven't tried it on 64 bit though.
A few caveats:
1. This utility is unsupported. I have never had any issues with it. But it's still a consideration.
2. The utility would have to be present on any machine you intended to run the code on and this may not be feasible in all circumstances.
3. Obviously this is a bit of a hack/kludge so you may want to test it a little for error conditions etc.
4. I just banged this together. I haven't tested it/worked with it. So take 3 seriously:)