Solved

Access 2007 - command line syntax

Posted on 2014-12-26
6
258 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 500 total points
ID: 40519266
correction

"C:\Program Files (x86)\Microsoft Office\Office12\msaccess.exe" "C:\RadhepKrishnawords\MyPwords.mdb" /decompile
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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 is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error Creating Foreign Keys in SQL Database 7 34
Programmer 14 47
Delete Records on a Form in Microsoft Access 5 39
object variable or with block not set 6 28
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

785 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