Download SSFront PSScript Features HowtoUse Movie Sample About Secret Sharing Support License Terms
Batch file for using the application "SSharing Pro" on the command line.
It is also available on GitHub.
You can download BatchSSharingPro for free from:
"SSharing Pro" is an application that runs on Windows.
It will be installed in C:\Program Files\WindowsApps, but if you try to run an application in this folder on the command line, you will not be able to specify the EXE file directly.
There are the following restrictions when running from the command line:
When running from the command line, you must type:
start shell:AppsFolder\PackageFamilyName!ApplicationId
This is a very long and annoying command.
Note : "PackageFamilyName" and "ApplicationId" are different for each application.
The current directory will always be C:\WINDOWS\system32. For those who have used the command line until now, this is a difficult environment to use.
If you run it in a batch file, proceed to the next step without waiting for the process to complete. Even if you create a batch file that copies the shared file after share, it will try to copy the shared file before the share process is finished. This will not copy the shared files successfully. This drastically reduces the effectiveness of the batch file.
We have prepared a PowerShell script SSharing.ps1 to solve these problems.
The above 2 and 3 cannot be solved only by scripts and batch files. "SSharing Pro" has special options to deal with these.
This is an option to specify the current directory.
This is an option to synchronize with "SSharing Pro".
-cur option
SSharing.ps1 specifies the directory where the script was executed in the -cur option.
-event option
SSharing.ps1 doesn't finish processing until "SSharing Pro" is complete.
Follow the steps below to synchronize with "SSharing Pro".
The event name "xxx" can be freely selected.
1. Creating an Event named "xxx".
2. Creating a Mutex named "xxx_2".
3. Run "SSharing Pro" with the option "-event xxx".
4. Waiting for Event.
5. Waiting for Mutex.
If you want to share _ReadMe.txt, enter the following at the command line:
powershell -Command "& './SSharing.ps1'" -cmd -encode -en_n 5 -en_k 3 _ReadMe.txt
Note: Place the following files in the current directory and execute.
SSharing.ps1
_ReadMe.txt
In the "Base" folder, we have prepared a batch file for each "SSharing Pro" option.
If you don't know how to specify the options, copy them from these files and use them.
In the "VariousUses" folder, we have prepared a more advanced batch file according to the purpose.
This is useful if you want to perform a share for daily backup purposes.
You can also retrieve and reconstruct shared files from the W drive and Y drive.
MIT License