[AccessD] \decompile

James Button jamesbutton at blueyonder.co.uk
Wed Apr 13 05:37:50 CDT 2022


Maybe worth a check that the path you have used is to the actual .exe rather
than to a shortcut to it
The way some system (ms install) generated shortcuts seem to be setup seem to
not work with the command parameters when the shortcut is called from another
level of shortcut.

As a basic start - when installing a new office suite I search for the actual
.exe's and create shortcuts to then - and then copy those ( generated by me)
shortcuts into a subfolder of  "Links" folder that is on my desktop and
accessible as a toolbar link from the taskbar area.
Also put the appropriate shortcuts into the SendTo folder 

JimB


-----Original Message-----
From: AccessD
<accessd-bounces+jamesbutton=blueyonder.co.uk at databaseadvisors.com> On Behalf Of
Stuart McLachlan
Sent: Wednesday, April 13, 2022 5:08 AM
To: Access Developers discussion and problem solving
<accessd at databaseadvisors.com>
Subject: Re: [AccessD] \decompile

Yep, you're right. You don't need those quotes.

On 12 Apr 2022 at 20:55, Rocky Smolin wrote:

> I've never enclosed the /decompile switch on quotes. And it has always
> worked without.
> 
> Does it work for you with the quotes?
> 
> On Tue, Apr 12, 2022 at 6:35 PM Stuart McLachlan
> <stuart at lexacorp.com.pg> wrote:
> 
> > Spaces in path. You need to quote it:
> > "C:\Program Files (x86)\Microsoft Office\root\Office16\MSACCESS.EXE"
> > " /decompile" note the space before the /decompile.
> >
> >
> >
> >
> > On 12 Apr 2022 at 21:04, John Colby wrote:
> >
> > > In the past I always created a batch file to perform a \decompile
> > > when I opened Access.  I don't have that now so I am creating one.
> > >  I found the syntax out on FMS as follows:
> > >
> > > "C:\Program Files (x86)\Microsoft
> > > Office\root\Office16\MSACCESS.EXE /decompile"
> > >
> > > where the path depends on your instance of Office.  This is in
> > > fact my correct path.
> > >
> > > If I open the command window and paste that in it returns an error
> > > message "The directory name is invalid".  If I perform a CD
> > > C:\Program Files (x86)\Microsoft Office\root\Office16 it does in
> > > fact change directory into that path and from there a 
> > > MSACCESS.EXE /decompile opens access.
> > >
> > > So what gives?  Majorly confused on this part.
> > >
> > > Is it possible to do the same thing with a shortcut to Access?  I
> > > created the shortcut and placed the /decompile inside of the
> > > quotations and Access opens, however there is no obvious way to
> > > determine whether the /decompile is passed in to the access
> > > instance. I vaguely remember that this is the method that I used
> > > in the past.
> > >
> > > I assume that some of you guys do this stuff?
> > >
> > > --
> > > John W. Colby
> > > Colby Consulting
> > > --
> > > AccessD mailing list
> > > AccessD at databaseadvisors.com
> > > https://databaseadvisors.com/mailman/listinfo/accessd
> > > Website: http://www.databaseadvisors.com
> > >
> >
> >
> > --
> > AccessD mailing list
> > AccessD at databaseadvisors.com
> > https://databaseadvisors.com/mailman/listinfo/accessd
> > Website: http://www.databaseadvisors.com
> >
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 


-- 
AccessD mailing list
AccessD at databaseadvisors.com
https://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list