Launch Start Menu shortcut from CAD using %USERPROFILE%?

Is it possible to launch an external application from CAD by including the %USERPROFILE% Windows variable?  Just specifying that as part of the path to the application in the "Launch External Application" window causes an error when CAD tries to launch the application.  We've developed a ClickOnce application that we'd like to launch through CAD, but I'm struggling to find a way to do that since it installs in the user's application cache instead of the Program Files directory.  Any ideas would be appreciated!

Is it possible to launch an external application from CAD by including the %USERPROFILE% Windows variable?  Just specifying that as part of the path to the application in the "Launch External Application" window causes an error when CAD tries to launch the application.  We've developed a ClickOnce application that we'd like to launch through CAD, but I'm struggling to find a way to do that since it installs in the user's application cache instead of the Program Files directory.  Any ideas would be appreciated!

Similar Messages

  • Deleted Start Menu Shortcuts - Please help!

    Hello,
    I have accidentally deleted my start menu shortcuts (silly, I know!). I have not been able to recover them (Windows Restore disabled, no backs up, etc). I have managed to use some recovery software which has found many shortcuts but only appears to have the filename and not the actually path to which it points. Therefore, can somebody please tell me where the following Lenovo shortcuts point? Thank you!
    Access Connections
    Access Help
    Active Protection System
    Backup
    Client Security Solution
    Create Product Recovery Media
    Creaet Recovery Media
    EasyEject Utility
    Fingerprint Software
    Help Center
    Keyboard Customizer
    Lenovo Camera Center
    Lenovo Fingerprint Software
    Lenovo Registration
    Lenovo System Toolbox
    Lenovo ThinkVantage Toolbox
    Lenovo Welcome
    Magnify
    Message Center
    Power Manager
    Presentation Director
    Productivity Center
    Rescue and Recovery
    Security Configuration Management
    System Migration Assistant
    System Restore
    System Update
    ThinkVantage Productivity Center

    It could be a new installation of some other software that's causing it.  Like a VST or DX effect or maybe even some Nero product...  This link might help:
    http://kb2.adobe.com/cps/330/330271.html
    The DirectX managers at the bottom of that page should allow you to disable or enable any effect that could cause Audition to fail...
    If that doesn't help then try uninstalling and then deleting or renaming any Audition folders in the %USERPROFILE%\AppData\Local folder.  Then install Audition again...
    Still not working?  Then I suggest testing your memory using something like Memtest86, but you'll have to burn a boot CD, DVD or make a bootable floppy disk.  Once you boot from the disc then it's pretty much automatic and might take 15 to 20 min to complete...
    Once you're sure it's not a memory problem then run ScanDisk on all of your drives.  Make sure to select 'Automatically fix file system errors' and 'Scan for and attempt recovery of bad sectors'.  If it asks you if you want to perform the scan next time windows starts then click yes, but go through and scan all the other drives before restarting...
    If the memory and hard drive scans don't find anything then I'd say it's your windows installation or possibly an undetected virus... Go and re-install windows.   It would probably take less time to re-install windows then to do all that, but it's better to know your in complete working order...

  • Firefox desktop and start menu shortcuts were hidden after install - why?

    Hi
    I just installed Firfox 5 and after installing both the desktop shortcut and the start menu shortcut were marked as hidden in windows.
    Anyone else experienced this and have any ideas what could have caused this. It was rather confusing.
    I'm running on a brand new laptop (Dell XPS-17) running Windows 7 Home Premium (64bit). The only candidate I can think of is the computer came with McAffee, which I haven't used in years. It was appallingly bad back then but thought I'd give it a chance as Dell gave me 15months free.
    Thanks
    Mog

    Hi,
    I would like to suggest you try these steps to figure out what could be causing this problem.
    1. Run Troubleshooter
    Open the Search and Indexing troubleshooter
    http://windows.microsoft.com/en-US/windows7/Open-the-Search-and-Indexing-troubleshooter
    2. Create a new library and include fewer folders for test purpose. Now search for a file from that folder. See if it works.
    Create a new library
    http://windows.microsoft.com/en-US/windows7/Create-a-new-library
    3. Try to rebuild search indexing. Refer the steps from the following article.
    http://windows.microsoft.com/en-US/windows7/Change-advanced-indexing-options
    Also you may use the System File Checker tool (SFC.exe) to check the issue. The sfc /scannow command scans all protected system files and replaces incorrect versions with correct Microsoft versions.
    How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7
    http://support.microsoft.com/kb/929833
    In addition, you may refer to the following Microsoft TechNet article for the Windows Search related Group Policies.
    Group Policy for Windows Search
    http://technet.microsoft.com/en-us/library/cc732491(WS.10).aspx
    Hope it helps.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

  • I keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get it when I either try to open it from the Start menu or from the desktop icon.

    I've just installed Firefox on my laptop and keep getting the message, "Windows cannot find 'c:\Program Files (x86)\Mozilla Firefox\firefox.exe'. Make sure you typed the name correctly, and then try again." I get this message whenever I either try to open it from the Start menu or from the desktop icon. I've never gotten it to work and even uninstalled it and then redownloaded it and still cannot get it to open. Any help would be greatly appreciated!!!!

    Are you installing from the official site? http://www.mozilla.com/firefox
    If you use Windows Explorer (My Computer) to check that path, is the Mozilla Firefox folder there? That is the normal installation location, but I think it's worth checking.
    If the folder isn't there or firefox.exe is not in it, I wonder whether some other software might be interfering. You might want to run some supplemental security scans. These two tools are highly regarded:
    Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
    SUPERAntiSpyware : http://www.superantispyware.com/

  • Can't Move or Remove iTunes 7 Start Menu Shortcuts

    Once iTunes 7 is installed, it creates a set of program shortcuts in the "start menu > all programs" area. I often reogranize these shortcuts myself post-installation.
    However, when I move or delete the iTunes 7 shortcuts from this area, the next time I start the iTunes program it runs the installation / configuration process again and restores all of the program shortcuts.
    It does not care if I remove the desktop or quick launch shortcuts, but as soon as I change the start menu programs shortcuts it throws a fit and restores them.
    Any fixes / explanations for this, or is it a legit bug?

    This appears to be an intentional "feature" of iTunes 7.
    See this thread for more...
    http://discussions.apple.com/thread.jspa?messageID=3104458&#3104458

  • Office Start Menu Shortcuts Keep Vanishing!

    I have Windows 8.1 Enterprise and Office 2013 Professional with all current updates installed.  I prefer to run with Word, Excel, Powerpoint and Outlook on the 'Start Menu' and until recently, this has been working fine.  For the last couple
    of weeks however the shortcuts for Word, Excel and Powerpoint keep vanishing!  Strangely, the Outlook shortcut always remains!  I can go to the all programs display, select them and use 'Pin to Start' and they obligingly appear, I move them into
    the correct group, they stay there for a while and then vanish!  It has even done it in front of my eyes!  The Start Menu appeared to slide off to the right and then slide back.  When it slid back into view, they were gone!
    Has anyone else seen anything like this or have any idea what the problem may be?

    Hi,
    Was your computer in a Domain?
    Please check if there is any schedule or GP to regularity reset Start screen layout.
    Also, consider the corrupted user profile issue, you can check whether this issue also happened on another user account.
    This issue can also be caused by corrupted system components, you can try to use this command to restore healthy:
    Please make sure to run CMD as Administrator:
    dism /online /cleanup-image /restorehealth
    Update this thread after you check my suggestions.
    Kate Li
    TechNet Community Support

  • Windows 8 Start Menu Shortcut

    Howdy,
    Prior to Windows 8, I was creating a folder with company name in the Start Menu root and then a subfolder in it for each product.
    Start Menu Root :: XCompany :: Product1
    :: Product2
    :: Product3
    Using the same architecture in Windows 8 and 8.1, it just recognizes root folders in Start Menu and disregards sub folders.
    It means that all my product shortcuts are shown in XCompany folder and ProductX folder is disregarded.
    I checked in Win8 they're here:
    C:\ProgramData\Microsoft\Windows\Start Menu\Programs
    Is that behavior expected? Should I force my installer disregard XCompany root folder and just create ProductX folders in the Start Menu folder?
    Or solution is something else?
    Thanks for advise.

    Hi,
    In Windows 8, it can allow 2 level navigation on Start screen/ All apps. And yes, we have to create ProductX folders in the Start Menu folder
    We must create shortcuts for both your XProduct folder and the sub items under this folder.
    For example:
    For local user, Under folder:
    C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
    Kate Li
    TechNet Community Support

  • ThinkVantage App installs won't create start menu shortcuts

    I have Win7 x64 RTM on my T500 switchable graphics model. This was a clean install with everything wiped from everything on the system (including TPM data and fingerprint data) beore the Win7 install. System Update works fine. I didn't have the newest BIOS on the system when i installed Win7, but I did before I installed the apps that system update pushed yesterday (October 22).
    However, so far only the Access Connections program has created a Start Menu entry. Everything else (fingerprint software, power manager and even system update) has not and I had to create the shortcuts manually.
    Is anyone else seeing this? Does anyone from Lenovo have an idea why this is happening or how to fix it?
    Thanks.

    I suggest you install CSS 8.3 before installing the fingerprint software.  Here's the location for the file:  http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-73696

  • Removing Adobe CS6 Start menu shortcuts

    Hey all,
    I've created seperate packages for every program inside CS6, these will be deployed using ZCM, the installation including exceptions all works fine.
    My problem is that it creates shortcuts for every application, including some of the exclusions and programs like Bridge in my start menu.
    I've tried creating a transform to run with the msi that removes the shortcuts, but checking both the shortcuts option, and the shortcuts table in the msi, there is nowhere where I can find where and/or how it creates these shortcuts.
    I want to install CS6 without any shortcuts at all.
    Any help would be appreciated,
    Irfan

    Hello Irfan,
    You can add an additional 'Install action' to your Windows Bundle in which you run the Creative Suite MSI, created with the AAMEE, which then runs this script:
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe Illustrator CS6.lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe ExtendScript Toolkit CS6.lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe Illustrator CS6 (64 Bit).lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe Extension Manager CS6.lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe Dreamweaver CS6.lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe Fireworks CS6.lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe Photoshop CS6.lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe InDesign CS6.lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe Bridge CS6.lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe Flash Professional CS6.lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe Media Encoder CS6.lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe Photoshop CS6 (64 Bit).lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe Design and Web Premium CS6\Adobe Bridge CS6 (64bit).lnk"
    del "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Adobe ExtendScript Toolkit CS5.lnk"
    You can also have a look at the new 'Creative Suite Customization Wizard' for Bundle Commander Professional Edition. If you would like to test this, please contact us at http://www.bundlecommander.com
    regards,
    Roel van Bueren

  • SAP GUI 7.20 PL7 - How to change the default Start Menu shortcuts location

    I would like to change the SAP GUI shortcuts .lnk file location in the start menu.
    Example. The shortcuts to be installed to Start Menu > Production > SAP Front End > SAP Logon

    Thanks for the help but I did not get the answer provided.
    I am trying to create a package with SAP Installation Server Admin tool and need to change the shortcut locations when the package is installed.
    By default nwsapsetup.exe /package="xyz"
    installs all shortcuts to start menu > programs > sap front end
    in Windows XP.
    I want this to be in Start Menu > Production > SAP Front End
    I need to deloy the package to Windows XP.
    COuld you pls help?

  • PS CS6 install doesn't create Win7 start menu shortcut

    I just did a PS CS6 install, but just the x64 application. The install created an Adobe ExtendScript Toolkit CS6 shortcut in the base Windows\Start Menu\Programs folder, but it didn't create a shortcut (or folder+shortcut) for Photoshop. I created my own shortcut, but figured I'd report this.
    Windows 7 x64 system.

    Actually I'm now seeing shortcuts for four new Adobe apps in Start Menu > Programs. The ExtendScript Toolkit CS6 is the only one that shows up in the base Start Menu with red highlighting to indicate a newly installed application. I didn't see the other new shortcuts until I rebooted my system this morning.
    The installed folder for each of the four new shortcuts is:
    C:\ProgramData\Microsoft\Windows\Start Menu\Programs
    Shortcut names are:
    Adobe Photoshop CS6 (64 Bit)
    Adobe Bridge CS6 (64bit)
    Adobe Extension Manager CS6
    Adobe ExtendScript Toolkit CS6
    Adobe is inconsistent with where shortcuts are created. I have several Adobe application shortcuts in Start Menu\Programs but I have a couple in a Start Menu\Programs\Adobe folder and the entire CS5 suite's shortcuts in Start Menu\Programs\Adobe Master Collection CS5
    The shortcuts I manually created for Bridge CS6 x64 and Photoshop CS6 x64 are on my desktop and have different names than the ones created by the install.

  • I'm running Windows 7 and occasionally, Firefox will become completely unresponsive and grey out, then none of my programs will open at all, including the Start menu, forcing me to use a hard restart and shut down. Any help would be appreciated.

    I'm not able to close and restart Firefox at all, since the computer becomes completely unresponsive, save for mouse input. Task Manager is also of no use.

    Ok, to copy the Drive from one to another, get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/
    Believe it or not, anything on the Desktop uses 3 times the Resources of the Mac than if stored elsewhere, I can note a slowdown from just 30 items on the Desktop on a really fast Mac, so the less the better on the Desktop.
    DW will not tell you about Bad Sectors, it's just the very best at Repair Directory damage & such.
    At this point I think you should get Applejack...
    http://www.macupdate.com/info.php/id/15667/applejack
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 6 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files! :-)
    Disconnect the USB cable from any Uninterruptible Power Supply so the system doesn't shut down in the middle of the process.

  • Start GP Process from VC using Web Service with parameters

    Hi,
    II´m trying to instantiate a GP process from a Vc iView using a Web Service; I always used Instantiation via URL but using this method I don´t have any "return" data from GP saying "Ok - The process started succesfully".
    The questions are:
    1) Is possible to start a GP process via Web Services through a VC Flash iview? If so, is posible to send input parameters to the process via the web service?
    2) Does the web service returns any message with the status of the process? ( something like: "the process started succesfully")
    Best regards,
    Marco.

    1) Is possible to start a GP process via Web Services through a VC Flash iview? If so, is posible to send input parameters to the process via the web service?
    A: Yes. You can send input parameters to the service through WS.
    2) Does the web service returns any message with the status of the process? ( something like: "the process started succesfully")
    A: Yes. The return message can be added to the WS. It depends on how do designed the WS.
    -Ashutosh

  • My taskbar, at the bottom of the screen ( including start menu button) disappears when using Firefox. I am using Windows-7 and Firefox 18.0.1.

    I think I mistakenly hit a keyboard shortcut when this happened. The taskbar isn't set to autohide and I am not in fullscreen either,
    Any help would be appreciated in helping me return my Firefox browser back to it's original standard.
    Thanks.

    Hello,
    Have you pressed F11?

  • An error The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered after launching a ps1 script from cmd file.

    I'm trying to load sharepoint script from *.cmd file. 
    I have Sharepoint 2010 installed on Windows 7 x64 and SQL server 2008r2.
    My cmd file is: 
    Powershell -v 2 -NonInteractive -NoLogo -File 1.ps1
    My sharepoint file 1.ps1 is:
    $snapin="Microsoft.SharePoint.PowerShell"
    if ($action -eq $null -or $action -eq '')
    {<br />
    # Action by default is complete uninstallation.
    $action='uninstall'
    $uninstall = $true
    else
    $action = $action.ToLower()
    switch($action)
    { $_ -eq "uninstall" } { $uninstall = $true; break }
    { $_ -eq "removesolution" } { $removeSolution = $true; break }
    { $_ -eq "deactivatecorpus" } { $deactivateCorpus = $true; break }
    { $_ -eq "deactivatesupport" } { $deactivateSupport = $true; break }
    default { Write-Host -f Red "Error: Invalid action: $action "; Exit -1 }
    Check the Sharepoint snapin availability.
    if (Get-PSSnapin $snapin -ea "silentlycontinue")
    Write-Host "PS snapin $snapin is loaded."
    elseif (Get-PSSnapin $snapin -registered -ea "silentlycontinue")
    Write-Host "PS snapin $snapin is registered."
    Add-PSSnapin $snapin
    Write-Host "PS snapin $snapin is loaded."
    else
    Write-Host -f Red "Error: PS snapin $snapin is not found."
    Exit -1
    $url = "http://pc1/sites/GroupWork/"
    $site= new-Object Microsoft.SharePoint.SPSite($url )
    $loc= [System.Int32]::Parse(1033)
    $templates= $site.GetWebTemplates($loc)
    foreach ($child in $templates){ write-host $child.Name " " $child.Title}<br />
    $site.Dispose()
    The script works fine from the Sharepoint 2010 management shell after launching the shell from the start menu (or from windows cmd by entering powershell -v 2):
    PS C:\2> .\1.ps1 
    PS snapin Microsoft.SharePoint.PowerShell is loaded.
    GLOBAL#0 Global template
    STS#0 Team Site
    STS#1 Blank Site
    STS#2 Document Workspace
    MPS#0 Basic Meeting Workspace
    MPS#1 Blank Meeting Workspace
    MPS#2 Decision Meeting Workspace
    MPS#3 Social Meeting Workspace
    MPS#4 Multipage Meeting Workspace
    CENTRALADMIN#0 Central Admin Site
    WIKI#0 Wiki Site
    BLOG#0 Blog
    SGS#0 Group Work Site
    TENANTADMIN#0 Tenant Admin Site
    {248A640A-AE86-42B7-90EC-45EC8618D6B4}#MySite2 MySite2
    {95629DC2-03B1-4C92-AD70-BC1FEAA49E7D}#MySite1 MySite1
    {7F01CFE4-F5E2-408B-AC87-E186D21F624C}#NewSiteTemplate NewSiteTemplate
    PS C:\2>
    I have an access to the database Sharepoint_Config from current domain user and from other 2 users. All users have db_owner rights to the Sharepoint_Config database. But
    i've loaded in windows from the user which is dbo in the database (dbo with windows authentication with domain\username for the current user). The dbo user has do_owner rights in the Sharepoint_Config database. I've tried to login under other users and launch
    the cmd file but without success.
    My PowerShell has version 2.0: 
    PS C:\2> $psversiontable
    Name Value
    CLRVersion 2.0.50727.5477
    BuildVersion 6.1.7601.17514
    PSVersion 2.0
    WSManStackVersion 2.0
    PSCompatibleVersions {1.0, 2.0}
    SerializationVersion 1.1.0.1
    PSRemotingProtocolVersion 2.1
    After launching the script from 1.cmd file i get an errors:
    C:\2>Powershell -v 2 -NonInteractive -NoLogo -File 1.ps1
    PS snapin Microsoft.SharePoint.PowerShell is registered.
    The local farm is not accessible. Cmdlets with FeatureDependencyId are not regis
    tered.
    Could not read the XML Configuration file in the folder CONFIG\PowerShell\Regist
    ration.
    Could not find a part of the path 'C:\2\CONFIG\PowerShell\Registration'.
    No xml configuration files loaded.
    Unable to register core product cmdlets.
    Could not read the Types files in the folder CONFIG\PowerShell\types.
    Could not find a part of the path 'C:\2\CONFIG\PowerShell\types'.
    "No Types files Found."
    Could not read the Format file in the folder CONFIG\PowerShell\format.
    Could not find a part of the path 'C:\2\CONFIG\PowerShell\format'.
    No Format files Found.
    PS snapin Microsoft.SharePoint.PowerShell is loaded.
    New-Object : Exception calling ".ctor" with "1" argument(s): "The Web applicati
    on at http://Pc1/sites/GroupWork/ could not be found. Verify t
    hat you have typed the URL correctly. If the URL should be serving existing con
    tent, the system administrator may need to add a new request URL mapping to the
    intended application."
    At C:\2\1.ps1:48 char:18
    + $site= new-Object <<<< Microsoft.SharePoint.SPSite($url )
    + CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvoca
    tionException
    + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.Power
    Shell.Commands.NewObjectCommand
    Please help me. I don't understand why the script is launched from the sharepoint management shell but doesn't work from the cmd file.

    I have an answer for my problem:  for solving a problem I've made several steps:
    1. Run farm installation under AD admin credentials - runas /user:Domain1\DomainAdmin1 "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\psconfigui.exe".
    This user has been added as farm administrator in the wizard.
    This user has been added as DBO in the SQL Server. (This is the main difference with my previous attempts)
    2. Execute a command Add-SPShellAdmin Domain1\UserAccount1 in
    the Management Shell of Sharepoint.
    3. Run SQL server and add Sharepoint_Shell_Access to the Domain1\UserAccount1
    (my main account) in the Config database
    4. Run CMD file only from Start->Run menu. 
    runas /user:Domain1\UserAccount1 "C:\1.cmd".
    Do not use Total Commander command prompt or file list for executing *.cmd of *.bat files without root administrator account.
    Thanks all for help.

Maybe you are looking for