How to Start EXE-File from SUD Dialog

Hello!
My Problem is: I'm trying to start an exe-file by clicking a button within a SUD-Dialog. Does anybody know how to realize that?
For example: Run("C:\Windows\Notepad.exe") ?!
Thanks!
Solved!
Go to Solution.

Thanks for you reply!
Your code worked so far to start Notepad.exe but what I'm trying to do is to start a file, located one folder above my script folder.
I tried the following...
dim command : command = "Script Assistent\TSM Script Assistent.NET.exe"
dim shell : Set shell = CreateObject("WScript.Shell")
dim status : status = shell.Run(command, 1, true)
If
0 <> status ThenErr.Raise6, "", "Command returned error!"
End If
...but then I receive an error message :-/
The script and the sud-file is located in:
G:\Script\Scriptfile.vbs + Dialogfile.sud
The exe I'm trying to start is here:
G:\Script\Script Assistent\TSM Script Assistent.NET.exe
What's wrong with that?

Similar Messages

  • How to run exe file from inside java

    I wan to run an exe file from inside java code. How can I do it?
    Thanks

    Hi Oakam
    This is very simple. Just go through the given code below
    in place of FILEANDPATHNAME just give the exe's path and name
    Note :- adding ".exe " is not necessary
    public class exep
    public static void main(String args[])
    Runtime r = Runtime.getRuntime();
    Process p = null;
    try{
    p = r.exec("FILEANDPATHNAME");
    catch(Exception e)
    Give ur feedback
    Thanx
    Ottran

  • How to run .EXE files from Linux Portal page?

    We have an IIS web server that runs a Photoshow_player.exe slide show program. I'm not sure if this can run from Linux Portal, but we are trying.
    The link in an IIS web page looks like this:
    <a> href="file:///\\mulsrv22\share\PCS\PhotoshowPlayer.exe" title="clean slate">clean slate</a>
    Portal is installed and running from two Linux servers. If I create a link using the above syntax, I get "can not display page" browser errors.
    I copied the entire PCS directory from the Windoz box to a Portal web_dav folder, but running the .EXE link from that Portal page gives errors indicating that the /PDS/data/.XML and /PCS/data/.jpg files can not be found.
    Any ideas on how I can run this slide show from Linux Portal?
    Thanks.
    --Don                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    if you just need to run a slideshow in you portal, why don't you use a javascript slide show ?
    Just "googleize" and you'll find tons of javascripts taht can do that.
    for example : http://www.barelyfitz.com/projects/slideshow/

  • How to execute exe file from pl/sql

    How to execute an exe file or an operating system command from pl/sql in oracle 9i.

    If it is part of a pl/sql block, use the java suggestion. If you are not in a blck, you can use the "HOST" command. see
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a82950/ch2.htm#1001697

  • How to call exe files from APEX

    Hi all,
    How to invoke or call some exe files like word or yahoo messenger from oracle apex ?
    Apex 4.2.2
    DB 11g
    Thanks

    956320 wrote:
    How to invoke or call some exe files like word or yahoo messenger from oracle apex ?
    Apex 4.2.2
    DB 11g
    Apex is a set of PL/SQL suite of packages and procedures, with tables and so on. This code is called from a web server (e.g. Apache runing mod_plsql) via standard Oracle client-server. The code executes INSIDE the database. The codes creates a HTML buffer. This buffer is read by the web server component that made the call. And send to the web (browser) client.
    That is first and foremost fundamental to understand about Apex.
    Within this context - where is this executable file to be loaded, with which parameters, by whom, and where, to do what exactly?

  • How to make exe files from java files

    Ohhh, so you thought you were going to answer that question? Well I already know the answer, i.e. all the tricks with the jar files or the programs which convert java programs into executable programs.
    The reason why I asked this question was to start a discussion concerning question which are frequently asked in the forums. Wouldn�t it be nice to have like statistics over the most faq here, and of course one or several pages with the answers to these questions? This would solve 2 problems:
    1) The person who wants to ask the question can find the answer and the solution quickly.
    2) The forums would not be packed with the same questions all the time.
    I mean, you must admit that the questions regarding �exe files� are asked a lot of times.
    Happy coding to ya all!
    /TM

    Yeah thats my point! these questions should be moved
    to a special page, where the answer to theam areDid you the whole message? I said there are FAQs.

  • How to Start Executable Files from JavaTM Applications?

    If it is possible to start other executable files, for example EXE or BAT, from a Java application, how can it be done in VC++??
    I can invoke executables (or whatever your OS is willing to execute) via Runtime.exec(). as per JDC member mtj or perhaps try:
    import Java.lang.*;
    import Java.io.*;
    public class RuntimeExecTest {
    public static void main(String[] args) {
    Runtime rt = Runtime.getRuntime();
    String[] callAndArgs = { "Notepad.exe",
    "D:\\TEMP\\Test.txt" };
    try {
    Process child = rt.exec(callAndArgs);
    child.waitFor();
    System.out.println("Process exit code is:
    " + child.exitValue());
    catch(IOException e) {
    System.err.println(
    "IOException starting process!");
    catch(InterruptedException e) {
    System.err.println(
    "Interrupted waiting for process!");
    But in VC++ on of the method signature is causing the problem:
    public Process exec( String command, String envp[] ) throws IOException
    If I use the above code, I get this error:
    Compiler Error J0122
    Exception 'identifier' not caught or declared by 'identifier'
    Please help
    Thanks

    Yes, it is possible to run both EXEs and BATs with exec().
    I also suggest you to look at the following article:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • How to create .exe files from Java class files?

    I'm new to Java and I just wonder if it is possible to make executable files out of Java class files. I've checked the Java online help and several search engines, but I still couldn't find anything about that. Is it possible to do so? If not, why not?
    Thanx a lot for any help.

    I don't remember if there is a program that converts the class file,
    but I do know that there are a few that either convert the class file,
    or the .java file. You might try searching for ".java to .exe" in the
    search engine and seeing what that pulls up.

  • How to disable .EXE files to be run from Group Policy

    I would like to know how to disable .exe files from GP?
    Thanks in advance

    All exe files icluding calc.exe, notepad.exe and explorer.exe or just some exe files?
    There are different approaches to this.
    If you're trying to block a single executable that you're familiar with you can disable it from a GPO using the setting:
    User Configuration/Administrative Templates/System/Don't run specified Windows applications
    Another option is to specify only the applications you want to allow Using:
    User Configuration/Administrative Templates/System/Run only specified Windows applications
    This one would probably take a lot of work to populate for a system with many applications installed or for a corporate environment.
    None of the two mentioned settings takes into account that a user can name their exe file what they want so renaming mydangerousapp.exe to explorer.exe would make it a perfectly legitimate executable.
    A more robust and managable way of securing your systems by controlling which applications that can be launched is Software Restriction Policies.
    Check this article for an introduction to Software Restriction Policies: http://technet.microsoft.com/en-us/magazine/2008.06.srp.aspx

  • Where can I find the Start up disk and how can I delete file from it.

    where can I find the Start up disk on theMac Book Air?
    How can I delete files from it?

    The startup disk is the internal SSD in your MBA.  You may delete files by draging the file  to Trash (or clicking on them and then execute COMMAND+Delete).  Then empty Trash.
    Ciao.

  • How do i copy files from my macbook pro to my hard drive? These files were previously started on my old dell.

    how do i copy files from my macbook pro to my hard drive? These files were previously started on my old dell.

    More then likely that external drive is formatted the Windows NTFS format which Mac OS X can Read but it can not Write to that format. So you would need to copy all the data off that drive, to either a Windows PC or to your Mac, thenn use the Mac to format it for the Mac OS. Which would be Mac Extended (Journaled) with a Partition Table of GUID.
    If you want to use that drive on both Mac and PC then you would need to format it either FAT32 or exFAT.

  • How to run an external .exe file from an indesign pluging

    Hi,
          Suppose if I have written an separate application in C++ (.exe file) & need to run it from an indesign pluging(as if a service in windows). have you provided that facilities in your SDK? if it's please let me know how to run an external .exe file from a indesign pluging.
    Thanks,

    I'm actully writing data in PMString to a external txt file.
    another question..
    if i want to execute an action when the ok button is cliked how can i do it?
    whe i add a button(widget) i know how to handle it. please see my code.
    // Call the base class Update function so that default behavior will still occur (OK and Cancel buttons, etc.).
    CDialogObserver::Update(theChange, theSubject, protocol, changedBy);
    do
    InterfacePtr<IControlView> controlView(theSubject, UseDefaultIID());
    ASSERT(controlView);
    if(!controlView) {
    break;
    // Get the button ID from the view.
    WidgetID theSelectedWidget = controlView->GetWidgetID();
    if (theChange == kTrueStateMessage)
    //if (theSelectedWidget == kEXTCODGoButtonWidgetID
    switch(theSelectedWidget.Get())
             case kEXTCODGoButtonWidgetID:
      this->ViewOutput();
      break;
             case kEXTCODFindButtonWidgetID:
      this->SaveLog();
      break;
    // TODO: process this
    } while (kFalse);
    I do two actions "SaveLog" & "ViewOutput()" using two buttons. But i dont know how to execute an action when the ok button is clicked...

  • I mistakenly deleated itunes exe file from my laptop, how can I download it again?

    I mistakenly deleated itunes exe file from my machine, how can I downlad it again? Its not available on the apple page.

    Google "iTunes".
    If you already installed iTunes you no longer need the .exe file.

  • How do I remove files from my start up disc

    How can I remove files from my start up disk

    Move iTunes, iPhoto and iMovie media folders to an external drive.
    iTunes
    http://support.apple.com/en-us/HT201562
    iPhoto
    http://support.apple.com/kb/PH2506
    iMovie
    http://support.apple.com/kb/ph2289
    Backup your computer.
    Try OmniDiskSweeper. This will give the storage size details of the items.
       Select Macintosh HD and click  “Sweep Selected Drive” at the bottom.
       Delete the files yo don’t want to keep.
       Be careful. Delete only the files that should be deleted.
       https://www.omnigroup.com/more

  • HT201210 how do i remove files from my start up disk

    how do i remove files from my start up disk on a macbook air

    Freeing Up Space on The Hard Drive
      1. See Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.

Maybe you are looking for

  • Link for Adobe Premiere Elements 11 will not work. Any help please?

    I bought my Premiere Elements package from another seller which gave me a link to download from Adobe. The product key thing is legit but every time I click on the file link for windows, my laptop comes up with this message: "The file archive of Adob

  • Why is my SN number for Acrobat 9 Pro Invalid?

    Followed the instructions to deactivate and uninstall Acrobat 9 Pro from an old PC to install on a new one and the reinstallation states my SN is Invalid, although it is not.  Who may I contact to get this fixed?

  • Possible to Restrict the Max Size of a JFrame?

    I guess that the JFrame is my top level container, within which JTabbedPane is used. I wish to be able to not make the window maximizable. I remember how that could be done in JInternalFrame. When I looked up JInternalFrame, it looks like the boolean

  • ServletException: javax.servlet.jsp.tagext.TagInfo

    I'm getting the following exception trying to load a simple tag into a jsp page. Can anybody point me in the right direction since I've searched everywhere and can't find any references to the cause of this error. As far as I can find out TagInfo is

  • 2.1 EA1/EA2/RC1: Constraints tab query bug [Fixed 2.1.1]

    Hi, The query to get a table's constraint columns will only work on unique constraints: cons.constraint_type in ('U','P')Please remove this filter from the query so it works for FKs and check constraints. Thanks, K.