Jump to content
Server Maintenance This Week. ×

Batch File


esteshk

This topic is 7219 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I want to open a pasword protected file from the Windows command line. I can get as far as the password prompt and then I'm stuck. How do I pass this parameter in a batch file? Here's my syntax:

"D:Program FilesFileMakerFileMaker Pro 6FileMaker Pro.exe" "c:Database FolderDatabase.fp5"

What do I want next?

Link to comment
Share on other sites

FM is pretty limited in terms of reading the command line. I doubt very much that you can pass a password on the command line. If you use a File plugin, like Troi File, you can probably accomplish the same thing. Spell out what you're really trying to accomplish.

Steve

Link to comment
Share on other sites

If your goal is to open the file without the password prompt, you could set it to open a second file that contains the password, is set to open with that password by default, and is set to run a script at startup that opens the target file and then closes itself. There is a lenghy discussion of opener files here.

Link to comment
Share on other sites

This topic is 7219 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.