Forums Community Command line operation in version 2

This topic contains 1 reply, has 2 voices, and was last updated by  Svante 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4072 Reply

    Dave

    In the previous version I was able to setup a bat file to encrypt all the files in a folder using the following command: “C:\Program Files\AxCrypt\AxCrypt\AxCrypt” -z “C:\Excel\*.*”  Now when I run it, it pops open the AxCrypt login window and wants me to login again. And even if I do login it doesn’t encrypt the files.  Any suggestions?

    #4074 Reply

    Svante
    Keymaster

    Hello Dave,

    The bad news is that we have not yet implemented a full command line with AxCrypt 2. There is still a command line, but it is a little limited and it’s really only intended for use by the Windows Explorer integration shell extension. You can actually encrypt files, if you sign in manually. We don’t have the command line documentation ready, but the switch is now –encrypt although I don’t think we actually support wild cards IIRC. Note the double-dash. As mentioned, no documentation – but you can check the source!

    https://bitbucket.org/axantum/axcrypt-net/src/

    Axantum.AxCrypt.Core/CommandLine.cs

    The good news part 1 is that you might not need to, since we now have the feature called ‘Secured Folders’ where AxCrypt will monitor a folder for new files, and you can encrypt them all with a single click.

    The good news part 2 is that we will make a real command line version of AxCrypt 2 which will be more capable and easier to use than version 1 – but we’re not there quite yet. Also, anyone with reasonable C# skills can integrate AxCrypt into any .NET program, or roll their own custom versions.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Command line operation in version 2
Your information: