Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Access 2007 - command line syntax

Posted on 2014-12-26
6
Medium Priority
?
313 Views
Last Modified: 2014-12-26
My OS is win 7 prof 64 bit and I use office 2007.  I am trying to create a shortcut, that will load Access and the mdb file with the syntax /decompile.  This is the syntax I did but it is saying that file not found :
"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Office Access\msaccess.exe C:\RadhepKrishnawords\MyPwords.mdb" /decompile

I am sure there are syntax errors, the name of the directory where the file is in is : C:\RadhepKrishnawords and ther name of the file is MyPwords.mdb.  After the ".exe" the next line above continues with a space>
Thank u.
0
Comment
Question by:jegajothy
  • 3
  • 2
6 Comments
 
LVL 7

Expert Comment

by:Robert Sherman
ID: 40519264
"C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office\Microsoft Office Access\msaccess.exe" "C:\RadhepKrishnawords\MyPwords.mdb" /decompile

NOTE THE QUOTATIONS AFTER MSACCESS.EXE
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 40519265
try

"C:\Program Files (x86)\Microsoft Office\Office12\msaccess.exe C:\RadhepKrishnawords\MyPwords.mdb" /decompile
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 40519266
correction

"C:\Program Files (x86)\Microsoft Office\Office12\msaccess.exe" "C:\RadhepKrishnawords\MyPwords.mdb" /decompile
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 7

Expert Comment

by:Robert Sherman
ID: 40519268
Just looked at that again... actually, it's going to be something like:\

"C:\Program Files (x86)\Microsoft Office\Office14\msaccess.exe" "C:\RadhepKrishnawords\MyPwords.mdb" /decompile
0
 
LVL 7

Expert Comment

by:Robert Sherman
ID: 40519269
..beaten again by Rey.  :D
0
 

Author Closing Comment

by:jegajothy
ID: 40519284
Rey's solution is the correct one, thank u very much.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question