On Windows 10 your FPC will install but may not run like it used to. When you double click on the Process Sample.bat – nothing will happen. Same thing will occur if you right click on it and run as administrator. This will happen even if you have installed FPC with the right click>run as administrator.
So best thing to do is the following
Step 1. Change permissions on the Datatools folder
- Right click on the C:\Program Files (x86)\Datatools folder
- Select Properties
- Click on the Security tab
- Click on Advanced button near the bottom
- Click Add and then click on “Select a principal”
- At “Enter the object name to select” type in Everyone and click Ok
- At Basic Permissions tick Full Control, and tick Only apply these permissions to objects and/or containers within this container, then click OK
- Back at Permissions tick on “replace all child object permission entries with inheritable permission entries from this object”, then click Apply and OK
You have now set the permission for the DataTools folder to have full read/write permissions
Step 2. Change your .bat file to have the Full path locations for all entities.
You will now need to go into the folder that you are running your FPC in in the DataTools folder (for this example DataTools\DtFpcDpid Sample folder) and edit the .bat file to include full path names for the location of the exe, the data, the settings file and the output file.
For example – the ‘Process Sample.bat’ found in the DtFpcDpid Sample folder provided with your install looks like this:
To run in Windows 10 you will need to edit all entities to include the full path of the location of that entity.
For example change
- ..\Dt FpcDpid.exe to "C:\Program Files (x86)\DataTools\DtFpcDpid.exe" (must add in the “ ”)
- "Sample Data.txt" to “C:\Program Files (x86)\DataTools\DtFpcDpid Sample\Sample Data.txt"
- "Sample Results.csv" to “C:\Program Files (x86)\DataTools\DtFpcDpid Sample\Sample Results.csv"
- "Settings.txt" to “C:\Program Files (x86)\DataTools\DtFpcDpid Sample\Settings.txt"
NOTE: It’s also advisable to go to the end of the string and hit your Enter key to move to the next line – then type pause. This means that if an error does occur it leaves the window on screen so you can read the error message.
NOTE: You may NOT be able to save the amended .bat with the same name – even after changing permissions - so you will need to Save As and use a different name.