programmatically launch a file with the default windows application

I thought it would be a trivial task, but I can't seem to be able to find something about it.  I would like to be able to open any file in the native application - as if the user has double-clicked on it.  Any suggestions?

Joined a VI I use that does what you want.  If the given path is a folder, then it opens a file Explorer window in this folder.  If the path is a file, then it opens the file, as if the user double clicked on it.  She uses the mentioned command-line function previously.

Tags: NI Software

Similar Questions

  • Windows Update error "windows update location must be replaced with the default windows location."

    Original title: Failed to automatically / thru fixit updated windows installation (another) indicates both failed 1 of 5. It says windows update location must be replaced with the default windows location

    XP86 running. Recently had installed the additional memory. Microsoft Update icon never goes away - seems like if 1 of 5 updates usually install on a group. Keep trying to install updates (even those) again and again. Sometimes we will not install and then moved the next time, he's trying to install the same updates, another a group. Worked through say fixit and details window update location must be changed to windows default = - but did not say how.

     

    Hello

    Have you tried Microsoft Fix - it?

    See the following article:

     

    Important: this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    http://support.Microsoft.com/kb/322756/

     

    You cannot install some programs or updates

  • Windows XP crashes intermittently when stopping. Stuck on the screen with the default windows background color and the mouse pointer.

    We are an OEM that systems of electronic Assembly is based, in our machine is a PC running Windows XP Professional that provides the interface for the operator. Some of our systems have begun to crash intermittently when stopping.  Up to now we have seen it on three machines.  There has been no change to hardware or drivers that we put on these machines.

    The PC is supposed to stop at the point were he said "It is now turn off your computer", but it hangs when the only thing on the screen is the default windows background and the mouse pointer. The mouse moves, but that's all. He is unresponsive to ctrl-alt-delete, or any other entry.

    This was reported 5 times, and in any case there's nothing in any log file which would tend to indicate where the problem is maybe.

    I guess we have a bad driver or device, but the problem only happens once all stops of 5-10, and only after the machine is turned on for a while.

    I just turned on the detailed status messages, but they did not stop the machine since.

    What I asked is: is it possible to get windows to connect to all events stop? I really want to know what he was doing when he stopped.  Can someone else think something I can look at, or a better way to debug this?

    Re: a suggestion on this new monitor to 'prove' is the source of the problem
    Disconnect it, connect a type non-ecran touch "ordinary".
    stop/restart in safe MODE, make sure that the old monitor is not appear in the Device Manager [what we used to call a ghost]
    If it IS, delete it & uninstall the sw provided with touch screen
    Reboot in normal mode
    Try a stop
    If you get the old orange it'S now SAFE, tell the seller about IT.

  • Open Save dialog file with the default path

    Hi all

    I want to open a "file save dialog box' with some default path.

    As when the user run this script I want to open a dialog box "save under" with the default path "/Volumes/ < noun > / < folder name > /...» »

    I use

    File.SaveDialog(prompt, filter);
    

    but it does not open in the default location, I want to open.

    Thank you

    Hard

    Look at this thread to see if it can help

    http://forums.Adobe.com/thread/1077267?TSTART=0

  • How can I open a .nrl in firefox extension, currently, it returns a text string instead of opening the file with the default program.

    When I click on a file .nrl extension (belongs to the autonomy I - manage your software) it returns a string of code (which is in the shortened link) instead of following the link and the return document. Is it possible to say Forefox connect to the document that the shortcut is linked to? The .nrl file extension belongs to a piece of software called FileSite (document management system).

    What type of content is displayed in "tools > Page Info > general" If you open a file of this type?

    • Press F10, or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.

    As displayed above, simply configure the server to send this file with the MIME type supported for Firefox to open a dialogue rather than make the file.

  • What can I do with the default window displays in CS5?

    HI -.

    In CS4, I can:

    • Open one or more files without going through a window around the image border.
    • A tab on the top of each image that makes it easy to move between images.
    • If there are only two images, they are tiled next vertically by default.
    • Photoshop itself can be of size and restored in accordance with all Windows programs, that is to say dragged/restored to answer.

    In CS5 (experimenting than now), unless I'm being totally stupid, it seems:

    • If I have my Photoshop window, filling a part of my screen, I don't have the possibility to enlarge the IMAGE window to fill the space of"office" gray - so get rid of the window image seriously annoying border. I have to drag the picture window! and then I still have the window border round!
    • The only way to get rid of that border is to maximize the entire window of Photoshop that fills my screen 24 ". There is no possibility to drag/restore the window of Photoshop for my default size.
    • With the help of the window > reorganize > order of tiles tile windows horizontally - no option for vertical tiles.

    In other words, I like to work with an image WITHOUT a border of window around it, and I don't want Photoshop maximized to fill my screen 24 ". I want a vertical mosaic. Is all this as possible? Would appreciate ideas.

    If this is NOT possible, that's all just stupid and boring, Adobe! Why CS5 does not conform to the agreements regular Windows?

    Aaaargh!

    Robin

    Cool - I've finally found the Document icon fix... Sorry for the mug shot!

  • What is required to play. MP4 files. The default, Windows Media Player does not work.

    I have Windows 7 Professional Service Pack 1.  I tried all four options of Windows when I right click and open

    Make sure that your WMP is the 32-bit default (even for W7 64-bit) version. It has built more than 64-bit codecs.

    Works out of the box for me.
    You can always install a codec package - Klite for example.
    See you soon,.
    J
  • 'Environment of the user' Windows cannot load the user's profile, but you have logged on with the default profile for the system.

    Original title: the user environment

    After starting windows, on the Welcome screen, this message always comes.
    "User environment.
    Windows cannot load the user's profile, but you have logged on with the default profile for the system. DETAIL: Not enough memory is available to process this command.
    And all my files that I save before you shut down or restart my pc all the my sample files on the desktop, my documents disappear...

    Thanks... :)

    This is typical of a corrupted profile.  To recover, perform the following steps:

    "How to recover damaged Windows XP user profile"
      <>http://support.Microsoft.com/kb/555473 >

    Almost always, corrupt profiles are accompanied by damaged drive.  During recovery, run a disk check with the /r or /f on your computer option.

    "How to perform disk error in Windows XP check"
      <>http://support.Microsoft.com/kb/315265 >

    HTH,
    JW

  • Windows 7 crashes my profile, leaving me with the "default" profile. Even if I wipe my laptop and re-install.

    Hello

    First: I have two identical laptops purchased from Dell with the same hardware configuration - both delivered with Vista. I upgraded to W7 as soon as possible, and since then, one of the laptops does not load my profile several times.

    I use to work as a system administrator, so of course, at the beginning, I didn't much attention to the mistake thinking it was just an incident. I formatted the computer, reinstall W7 and, of course, the error occurred again - constantly even if I wiped it and re-install.

    What is happening is that the computer starts, I connect Windows crashes for the moment very loong and then all of a sudden he says "preparing your desktop". When that happens I know its load under the 'default user profile', it's 'welcome '.

    This error occurs about two to three times in about 7 days. But not all the time - it's like periods. I usually get through this by organizing the closure for 4 seconds, restart, and then, if I'm lucky, gets through my office.

    A few times that I had no chance - restart of 6 times in a row without luck somehow shows that the profile files are really damaged, and then I created a new migration profile all my old files. This process takes time - not simply copy my files but also the settings of my program.

    Last week, I deleted my user just to create a new one-8 it recharges without success.

    I looked in eventvwr.msc and found that everything begins with six fouls in a row. I don't really know what do - the error log says error but it seems not very well describe it.

    It goes like:

    1 error:

    Windows could not load the registry. This problem is often caused by insufficient security rights or insufficient memory.

    DETAIL - the process cannot access the file because it is being used by another process.
    for C:\Users\[my account] \ntuser.dat

    EVENT ID: 1508
    TIMESTAMP: 2010-12-30 10:03:46

    2nd error:

    Windows cannot load the locally stored profile. Possible causes of this error include insufficient security rights or a damaged local profile.

    DETAIL - the process cannot access the file because it is being used by another process.
    EVENTID: 1503
    TIMESTAMP: 2010-12-30 10:03:46

    3rd error:

    Windows has backed up this user's profile. Windows tries to use the backup profile the next time this user connects automatically.
    EVENTID: 1515
    TIMESTAMP: 2010-12-30 10:03:46

    error 4:

    Windows cannot find the local profile and connects you with a temporary profile. Changes to this profile will be lost when you log out.
    EVENT ID: 1511
    TIMESTAMP: 2010-12-30 10:03:46

    error 5 (a warning):

    Windows cannot copy file C:\Users\Default\NTUSER. DAT to the C:\Users\TEMP location. [Name]. 000\NTUSER. DAT my PC. This error can be caused by network problems or insufficient security rights.

    DETAIL - the process cannot access the file because it is being used by another process.
    EVENT ID: 1509
    TIMESTAMP: 10:03:47

    error 6:

    Windows cannot load the user's profile, but you have logged on with the default profile for the system.

    RETAIL - only part of a query ReadProcessMemory or WriteProcessMemory was completed.
    EVENTID: 1505
    TIMESTAMP: 2010-12-30 10:03:48

    I don't know what it is. I can only say that reinstall W7 does not help. And lately, after creating the new profile, W7 began to start the default new desktop computer.

    So my question is: can I fix? If its not repairable can at least save files like ntuser.dat to crush the ntuser.dat file damaged W7 start sleeping?

    On the comp: 3 GB RAM, Core Duo2. The computer is used only for navigation on the internet, written for my studies and other reports not _ none of the weird stuff and no games at all.

    p

    Software properly written (as opposed to malware, viruses, and poorly written stuff) has similarly on day 1 after installation on 30 days. So you can go ahead with your driver and software installation as fast as you want, as long as you create a new file image at strategic points and keep notes dates when you installed this component.

    Given your experience, you will need to proceed cautiously with the automatic updates. First disable them, and then put the installation in Manual Mode so that you can install in small batches, again take notes.

    If you use Acronis image to create images, then you will need only half of space compared to the native tool. And if divide you your drive and put your personal files on the D: drive then you will not lose them during a restoration of the image.

    Be sure to keep your Windows Firewall active at all times and use a router. Make an Internet connection without a router (which is a hardware firewall) request in trouble. If you use a wireless network, make sure you use a WEP or WPA or MAC address screening encoding.

  • All my files with the .lnk extension will open with Windows Internet Exploer and I can't change them.

    All my files with the .lnk extension will open with Windows Internet Exploer and I can't change them.
    It's everything that happens anywhere, and I can't change it please help.

    This tutorial should help guide you through this process: http://www.mydigitallife.info/2008/06/20/how-to-edit-or-change-file-type-or-extension-associations-default-programs-in-windows-vista/

    It's a fairly simple process.

  • How to rename multiple files with the extension in windows xp

    How to rename multiple files with extension in windows XP.

    1. If you want to simply rename the extension, open a run window (Windows Logo key + R), type cmd and press ENTER. Using the CD (Change Directory) command, navigate to the folder in question. Now, type ren *.mp3, *.mp4, and press enter (note the two spaces in the command). Note, rename mp3 MP4 is just an example of the command.

    2. If you want to rename files, download the 32-bit version or 64-bit Bulk Rename, here http://www.bulkrenameutility.co.uk/Main_Intro.php

  • Windows identifies is no longer and files or files with the appropriate icon

    Windows identifies is no longer records or files with the appropriate - icon instead they show with icons General windows.  When you try to open windows says that it cannot identify the files/folders and are asked to choose from a list of programs or internet programs.  EG - trying to open a file of Final project, even with the final version, windows does not.

    Hello

    1. What is the file type or extension of file of these icons? These icons are linked with the application or program?
    2 - is a problem with all the icons?
    3 did you changes to the software to the computer?

    Check if you have installed the proper application to open files. Also, check out the steps listed in the article below and check.
    How to change or choose the program that starts when you double-click a file in Windows XP
    http://support.Microsoft.com/kb/307859

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Problem with the transfer of files from the computer Windows XP to Windows 7 using Windows Easy Transfer.

    Original title: Put WET on the old computer

    When I try to use WET to transfer from old Win XP Win 7 again, I need trasfer WET to the old computer.  So I choose this option and move on to the part where it says "Select the USB flash drive where you want to save WET".  Well, in the window is the word "computer" I can't click on it, nor is the OK button light up.  What's wrong?

    Hello

    Thanks for posting in Microsoft Community!

    It seems that you have a problem with the transfer of files from the computer Windows XP to Windows 7 using Windows Easy Transfer.

    I imagine the inconvenience that you are experiencing. We are here to help and guide you in the right direction.

    I suggest you try the procedure described in the link and check if it helps.

    Transferring files and settings: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/transferring-files-and-settings-frequently-asked-questions

    For more information, please see the links.

    Transfer files and settings from another computer
    http://Windows.Microsoft.com/en-in/Windows7/transfer-files-and-settings-from-another-computer

    Windows Easy transfer

    http://Windows.Microsoft.com/en-in/Windows7/transfer-files-and-settings-from-another-computer

    Get back to us and let us know the State of the question, I'll be happy to help you. We, at tender Microsoft to excellence.

  • When I do a file search he finds all files with the same keyword, I'm on windows 7

    File search only returns a file name in the search when there are several files whit the same keyword as I entered, this just started to happen.  When I typed a keyword in search it returned previously all files with the same keyword, now it returns only one of the files?

    Thanks for your suggestion, I'll give it a try and get back to you.

    I agree about the garbage, I got several questions on my HP Desktop & Windows 7.  My system crashed once, he took over at Best Buy, they told me my operating system has been altered, but could not tell me how to reload my OS unless I paid them $ 125 for the info.  In any case, I took my corrupted HP back at home plugged and it started as nothing is never past, sickening!

  • I have recently installed Windows 10 free update.  Now I am unable to delete .pdf files and get the invalid error message "Function MS-DOS."  It has never been a problem with the previous Windows 8.1.  I contacted Microsoft technical support and I was tol

    I have recently installed Windows 10 free update.  Now I am unable to delete .pdf files and get the invalid error message "Function MS-DOS."  It has never been a problem with the previous Windows 8.1.  I contacted Microsoft technical support and they told me there is a problem with the .pdf application and I need to contact Adobe Acrobat. This can be corrected?

    uninstall any version of acrobat is installed.

    clean by Download Adobe Reader and Acrobat tool - Adobe Labs

    Restart your computer.

    delete all to delete pdf files.

    If this fails, it is a problem of ms.  If this attempt is successful, then reinstall your acrobat.

Maybe you are looking for

  • Update deleted 9.3 health data, more prevents the collection of new data

    I have updated to 9.3 instantly for my 6 s the first day. The health app immediately removed all the measurements taken nearby, and flights climbed data. I thought it was an unfortunate decision to reset the data with the update and that he met now n

  • After moving my desktop of my computer does not see the network

    cable tested good, replaced by the new network card it works, actually clicked on the computers in the workgroup to see last week and it worked now missing again... can get online another fine two computers agree, but can not see me

  • Impossible to install a printer over a network; requires a driver must be installed.

    Recently I got problem with my printer, so I removed and have reinstalled the software. The printer is now works great on the host computer network. I have a home network and I want to share a computer, I already checked the box on the properties of

  • Windows 98 on a Lenovo 3000 N500 laptop

    Whatddup here, I have a Lenovo 3000 n500 laptop and I want to install Windows 98 on it. Is there a possibility to achieve my desire? If so, what drivers I need? Any additional information is welcome. Thank you!!!

  • Problem when using cursor

    Hello I am using the qml item cascade of cursor. I realized, when the user drag the slider if the signal onValueChanged. He also issue onValueChanged signal if I set the value manually. Is it possible to emit a signal onValueChanged does not then cha