Can an Access 2013 accdb file be encrypted using command line switches?

Can an Access 2013 accdb file be encrypted using command line switches?
I found all the command switches, but nothing about encrypting.  And I've searched online and found nothing.
Can this be done?
Thanks!

Hi Sharon2000,
I think you could try the Database.NewPassword Method (DAO) in the VBScript file, and you could get more information about it from the link below:
#Database.NewPassword Method (DAO)
https://msdn.microsoft.com/en-us/library/office/ff844754.aspx
Here is a simple demo to achieve your issue.
Best Regards,
Edward
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.

Similar Messages

  • Read in file name + path using command line arguments

    Hi guys,
    I am trying to use command line arguments to read in the name of two files. The code below works as long as the files are on the class path.
    public class cmdLineArguments {
         public static void main(String[] args) {
              String xmlFile1 = args[0];
                    String xmlFile2 = args[1];
              System.out.println ("\nXmlFile1: " + args[0] + "\nXmlFile2: " + args[1]);
    }I would like to be able to read files that are not on the class path as well by entering their full path along with their names.
    In other words, It works if I type:
    C:\Documents and Settings\user\workspace\CmdLineArgs\src>java cmdLineArgs file1.xml file2.xmlbut not if I type:
    C:\Documents and Settings\user\workspace\CmdLineArgs\src>java cmdLineArgs c:\Documents and Settings\user\desktop\file1.xml c:\Documents and Settings\user\desktop\file2.xmlWould anyone please explain how I can edit the code to make it work? I guess I could take them both as a String, modify them manually (add a \ to it etc) but is there an easier way to do it? Even a reference to a tutorial, article etc about this would be very much appreciated.
    Also, any idea why a code would compile and run fine in Eclipse but would create an error from command line?
    Thanks a lot.

    You need to learn about cmd.exe which is used to process the command line. The arguments passed to any program is the command line split at white space so your command line arguments of
    c:\Documents and Settings\user\desktop\file1.xml c:\Documents and Settings\user\desktop\file2.xmlis turned into an array of
    "c:\Documents", "and", "Settings\user\desktop\file1.xml", "c:\Documents", "and", "Settings\user\desktop\file2.xml"In other words instead of 2 arguments you actually have 6.
    To get round this the file names need to be quoted
    java cmdLineArgs "c:\Documents and Settings\user\desktop\file1.xml" "c:\Documents and Settings\user\desktop\file2.xml"

  • Deploy EAR file into WAS using command line

    hi,
       I have an EAR file and i want to deploy it into WAS using command line interface.
      I have seen the SDM_commandline.doc file in SDM directory ..it talks about deploying SDA's and SCA's :-
    >   sdm deploy file=<...>
    however it is not working for EAR files...is there any way to deploy EAR files directly or should I convert the EAR to SDA and then deploy using this command.
    thanks

    For NW Java releases prior to 7.1, an EAR file needs to be transformed into a SDA file, then it can be deployed. For later releases, an EAR file can be directly deployed.

  • Unable to open connection to MS Access 2013 .accdb file Under WCF Web Service Project Using Windows 8.1 64bit

    I am encountering the following error when trying to connect to an Access 2013 database:
    The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
    I have Visual Studio 2013 SP3 running on Windows 8.1 64bit OS which also has Office 2013 installed (which includes MS Access 2013).  My project is a WCF web service using .NET Framework 4.5.1 using any cpu as target.  I have tried reluctantly
    to install the older drivers as described by in the below article:
    https://social.msdn.microsoft.com/Forums/en-US/1d5c04c7-157f-4955-a14b-41d912d50a64/how-to-fix-error-the-microsoftaceoledb120-provider-is-not-registered-on-the-local-machine?forum=vstsdb
     and also went through the "Add Data Source" wizard in the Project menu to have the connect string automatically built.  Even with the automatically built connect string I can not connect to the .accdb file from within my WCF web service.
    What's odd is if I use the Database Explorer in Visual Studio it has no problem connecting the my Access file.  I inspected the connect string and tried to use it as well but still get the same error. Even stranger is that I have no problem connecting
    to the Access DB in an ASP.NET project on the same PC. I am also able to connect to the Access file using a simple Windows Forms application.  So I'm wondering if it has something to do with trying to connect to the Access file from a WCF web service
    project.
    What I'd like to know is if anyone has been able to get this to work in an environment as I described above as a 64bit WCF web service project?  I tried to switch my project to 32bit but when I do I get a different error which reads:
    System.BadImageFormatException: Could not load file or assembly 'file:
    Almost to the point of trying to get this web service project done with SQL Express but would like to know if it can be done with MS Access 2013.  Any information anyone can provide to help me get past this issue is greatly appreciated. Thanks.

    Have you installed the 64-bit Access driver on your machine? See
    Data Source Names and 64-Bit Operating Systems for the differences in odbcad32. Call %SystemRoot%\system32\odbcad32.exe to check the drivers.
    How do you host your service? Stand-alone or IIS or embedded to another application? Keep in mind that IIS7 runs it in its application pool which is defaullt 64bit. Thus the bad image exception, when compiling your service as 32bit.
    When you need the Access database for your service to store informtation, then I would switch to SQL Server (Express) or XML files depending on your actual needs.
    Also check whether your account under which your service is run has the necessary NTFS file permissions on the access file and the folder. This is getting even more complex when it's a remote folder.

  • Can you execute a class file without invoking the command line java command

    I am running java on a Windows XP equipped machine, and I am wondering if it is possible to execute a class file by double clicking the file icon, or can it only be done via command line. So far I have been unsuccessful in my attempts - I tried associating the class file with the java executable in my JRE directory, but that didn't work.
    Many thanks,
    -Stile

    nope, can't be done, by design... microsoft recognised java as threat to the empire very early on in the peace.... but you can write a batch file to execute myprogram.class called myprogram.bat and stick it in your PATH.
    keith.

  • Converting Doc files to PDF using command line ?

    Hello,
    I need to automate the process of converting (in command line) word files to pdf.
    Is Acrobat distiller Server the right product ? or is there another product from Adobe that would allow me to reach this goal ?
    NB : currently using pdfcreator in command line but have some stability problems now...
    thanks a lot
    Florent

    Acrobat Distiller Server can only convert Postscript to PDF. You may look at this product:
    http://www.adobe.com/products/livecycle/pdfgenerator/

  • How can I access the Server file system without using any signed applet?

    Is it possible for me to run an applet on the client machine such that the client can view my server file system and perform uploading and downloading of files through the applet without signing the applet?

    Add the following in your java.policy file, your plug in accesses.
    grant {
    permission java.permission.AllPermission;

  • I have converted a pdf to word. How can I access the Word file from my online account?

    I have converted a pdf to word. How can I access the Word file from my online account? When it says 'download the converted file' I choose a location on my PC and click, but nothing happens. It seems that it can only save the converted file to my online account. I went to my online account but I see no way to look for the file

    Hey Fabrizio,
    You might need to sign up at "https://cloud.acrobat.com/exportpdf" using your Adobe ID credentials to convert your PDF file to Word.
    Do you get the 'download' prompt?
    Also, you can find the converted files by clicking at the 'Files' tab. 
    Please try the same using a different browser and check.
    Hope to hear from you.
    Regards,
    Anubha

  • How can i access filename from file (sender)

    hi All,
    can anybody tell me
    how can i access filename from file (sender)?
    thank u
    swari

    See:
    "SAP NetWeaver XI: Variable Substitution with Adapter-Specific Message Attributes via DynamicConfigurationBean"
    SAP NetWeaver XI: Variable Substitution with Adapter-Specific Message Attributes via DynamicConfigurationBean
    "Accessing Adapter-Specific Attributes through User Defined Function"
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516

  • Can't access some shared files

    I have a computer here where the user can't access some shared files.  From the machine she normally uses, the folders are greyed out.  I've checked all the permissions, and everything is in order.  She was even able to access the folder from a different Mac.  The mac is fully patched, running OS 10.6.8.

    More Info:
    After trying multiple things, I have more info to solve the problem. 2 other computers (one is another iBook and the other is a PC) in the house, access the hard drive as advertised with no problems. The only thing that has changed on my computer recently is the replacement of a 1G iPhone with an iPhone 3Gs. This phone did some weird things when syncing, specifically with our photo programs. It locked up Nikon transfer and iPhoto was working strangely. I felt the best way to alleviate those 2 problems was to shut down my computer, and restart. This is when I encountered the problem with accessing the TC. Things are also a little bit more complicated because I use the TC as the storage medium for both iTunes Library and iPhoto Library, both of which I can't access given the current problem.

  • What is going on?  I can't access my iPhoto files from any other programs.  It just says "Open iPhoto to see photos from your iPhoto Library in this list", but that doesn't work.  What changed?

    All of a sudden I can't access my iPhoto files from any other programs (ie Photoshop, facebook etc.).  It just gives me this message below.  What the **** changed?  This wasn't happening yesterday.

    1 - close iPhoto.
    2 - go to your Pictures folder and open the iPhoto Library package as shown below:
    3 - locate a file named AlbumData.xml and move it to the Desktop.
    4 - launch iPhoto.
    5 - relaunch the other programs and try the media browser again.
    OT

  • I'm running 10.6.8 on my MAC and it cannot be updated. I'm using LR 4 and PS 4 or CS 5.1.  I recently purchased a Canon 6D and now I can't access my RAW files. Please advise.

    I'm running 10.6.8 on my MAC and it cannot be updated. I'm using LR 4 and PS 4 or CS 5.1.  I recently purchased a Canon 6D and now I can't access my RAW files. Please advise.

    You want the 8.3 dng converter for mac os x 10.6.8
    (newer versions won't work on snow leopard)
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Adobe DNG Converter 8.3
    how to use
    Camera Raw: How to use Adobe DNG Converter - YouTube

  • How can I access my IPhoto files on Bridge in Photoshop?

    Hoe can I access my IPhoto files in Bridge in Photoshop?

    This is not a photography question.  It is an application specific question,  Please post in the Photoshop forum.
    Remember, you are not addressing Adobe here in the user forums.  You are requesting help from volunteers users just like you who give their time free of charge. No one has any obligation to answer your questions.
    You have to export your images out of iPhoto first.

  • Can I access time capsule file without using imac

    can I access time capsule file without using imac

    From a time machine backup? No. If you mean just a regular file stored on there? Not directly. There are a couple of apps out there where you can indirectly get to a file but it's a pain. If you have need of accessing a file both from the mac and the iPad then I suggest DropBox. You get 2GB free and it's a good way to share information between machines and devices.

  • HT1578 I have found that I can't access the contents of the encrypted disk in time machine backups.  The Finder window displays a grayed-out icon representing the disk.  Can this be remedied?

    I have found that I can't access the contents of the encrypted disk in time machine backups.  The Finder window displays a grayed-out icon representing the disk.  Can this be remedied?

    Time Machine error: Apple Support Communities
    OSStatus 5 when trying to use Lion...: Apple Support Communities

Maybe you are looking for