Run/Start .Exe file in ColdFusion

Hi guys,
am trying to open up a .exe file like notepad or whatever windows program with using <cfexecute> but seems it doesn't work at all. I'm able to write the command in cmd and run the exe file but when i put the command in cfexecute so i get nothing.
here is the command i would like to run:
"C:\Program Files (x86)\Vc\vc.exe" -e "\Crystal\BF_Faktura_D.rpt"
altso, run/start a simple .exe windows program. I think there is something about security access from CF server or something like that.
ANY HELP?

this is what i have in my .bat/.cmd file:
"C:\Program Files (x86)\Vc\vc.exe" -e "\Crystal\BF_Faktura_D.rpt"
And i would like to remove that batch file totaly and run the command directly from CF to be able to make a HTML form and put some inputs through that form.
here you can see what i really do in bat file:
echo parameters:
echo      fakturagruppe  : %1
echo      fakturanr(fom) : %2
echo      fakturanr(tom) : %3
"C:\Program Files (x86)\Visual CUT 11\Visual CUT.exe" -e "\BF_Faktura_D.rpt" "Parm1:%2>>>%3>>>3" "Parm2:false" "Parm3:%1" "Parm4:false"
"Export_File:\\bf-visma02\vismadata\vbdoc\F0001\Fakturakopi\IC{BF_Faktura_S.InvoNo}.pdf" "Export_Format:Adobe Acrobat (pdf)"
I would like to open Visual cut.exe through CF to be able to make thos parameters in an HTML form instead of inputs from .bat file as you see!

Similar Messages

  • I have a problem with running an EXE file on win2000, the Lab View is 5.1 and I do not know if it is 16 bit...

    I have a problem with running an EXE file on win2000, the Lab View is 5.1 and I do not know if it is 16 bit...what should I do?

    Hi Arika,
    The drivers that you need to install to make your executable work depends on what your executable is doing. To get started, you need to have the LabVIEW Run-Time Engine installed on your target machine (the Win2000 machine you are planning to use) in order to run your executable. Next, you need to determine what drivers your executable uses, if any. For example, if you are using GPIB instrument control, you will need to install the NI-488 drivers on your target machine. If you are performing data acquisition, you will need to install NI-DAQ drivers. If you are doing image acquistion, you will need to install NI-IMAQ drivers.
    All these drivers are available for downloading on ni.com. To get the drivers, go to ht
    tp://www.ni.com/support , click on the link that takes you to Drivers and Updates (under Option 3), and click on the links to get to the driver(s) you need. For example, if you need the LabVIEW 5.1.1 Run-Time engine, click on the All Drivers and Updates by Application link on the main page (http://www.ni.com/softlib.nsf/). Then click on the LabVIEW link, Windows 2000, Run Time Engine, and then you will see the link to get to the page to download the LabVIEW 5.1.1 Run-Time Engine.
    I hope this information helps.
    Best Regards,
    Wilbur Shen
    National Instruments

  • Error while running sawserver.exe file

    Hi All ,
    I installed OBIEE 11.1.5 in my machine and Database is in different machine (For RCU) .OBIEE reports are working fine but, I tried to run sawserver.exe file to register new instanceconfig file to implement multiple rpds and Catalogs in OBIEE 11G by referring the below link.
    http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-2-presentation-services/
    Command that I used is : sawserver.exe -c D:\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1\instanceconfigdemo.xml
    Am getting the Error : the procedure entry point long jmp count not be located in the dynamic link library orauts.dll
    Thanks in Advance .

    Hi,
    How can i do it in OBIEE 11G? Any help will be grateful
    Regards,
    Joni

  • How to run start.sh file of Tomcat4.0.1 on Mac os 8.6

    Hi there,
    Iam new to Mac operating system and iam trying to work on Mac os 8.6.I am trying to install Tomcat on Mac os 8.6.For that I download jakarta-tomcat-4.0.1.tar from appache site.I also extract it in my desktopfolder directly.For running start.sh file I prepare my own Tomcat_Start.sh like that:-
    (#!/bin/sh
    export CATALINA_HOME=/sun/desktopfolder/jakarta-tomcat-4.0.1
    export JAVA_HOME=/sun/desktopfolder/MRJSDK 2.2/Tools/JDK Tools)
    In Mac os 8.6 I installed MRJ2.2.4(based on jdk1.1.8) and MRJ SDK 2.2 for Java runtime enviornment.I tried with one java file and it is working perfectly that means JVM working perfectly.But I don't know how I run this Tomcat_Start.sh file on Mac.I already worked with Tomact on Windows operating system.In windows I excecute start.bat file on Dos-prompt.Can any one tell how and where I can execute my Tomcat_Strat.sh file on Mac os 8.6.And which version of Tomact support MRJ2.2.4 which is based on jdk1.1.8. It is required for my one application to install Tomcat on Mac.Presently Iam working On WinNT4.0.Any Help will be highly appreciated.
    Thanks for ur Valuable Time
    Bikash

    Iam new to Mac operating system and iam trying to work
    on Mac os 8.6.I am trying to install Tomcat on Mac os
    8.6.For that I download jakarta-tomcat-4.0.1.tar from
    appache site.I also extract it in my desktopfolder
    directly.For running start.sh file I prepare my own
    Tomcat_Start.sh like that:-.sh files are usually Shell scripts for UNIX shells. I don't think Mac OS 8.6 has a shell interpreter (could be wrong. :/) so getting it to work is going to be difficult, if not impossible.
    If you have Mac OS X, however, I believe it could work on there. Not sure of exact details though.
    Bhav

  • How to run an exe file in a java program

    Hi,
    Can somebody tell me how to run an exe file in a java program.
    Thank you!

    Yes, java.lang.Runtime.exec().
    Read this carefully before you do:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    Don't write a line of code before you're reviewed and understood the article completely. - MOD

  • Can I run a .exe file on a Mac?

    I need to know know if it's possible to run a '.exe' file on an Intel-based Mac running Mac OS X. There's a CD with an application I need to run. In the Finder it has the icon of the black computer screen with green letters and it's titled 'startCD.exe. It'll run on Windows but due to circumstances I need to run it on my computer. Any direction you can point me in will be greatly appreciated. Thank You!
    MacBook   Mac OS X (10.4.8)  

    Maybe:
    http://www.codeweavers.com/
    "CrossOver Mac allows you to install many popular Windows applications and games on your Intel OS X Mac. CrossOver includes an easy to use, single click interface, which makes installing Windows software simple and fast. Once installed, your application integrates seamlessly in OS X. Just click and run your application directly from the OS X Finder. Clicking a Windows file or document — including email attachments — will launch the appropriate Windows program, allowing you to work on the files. Best of all, you do it all easily and affordably, without needing a Microsoft operating system license.
    Adding new Windows software is easy. Just place your install CD in your Intel Mac, and CrossOver will recognize it and offer to begin the installation process. CrossOver then completes the installation and configures your application to run on your Mac. That's all there is to it."

  • Boot Camp Question .... I just bought a 2013 late model Mac Book Pro Retina and am wondering if it is worth installing windows through boot camp. If I install the windows component in order to run an exe file and its component "Declans Korean Flash Cards"

    I just bought a 2013 late model Mac Book Pro Retina and am wondering if it is worth installing windows through boot camp.
    If I install the windows component in order to run an exe file and its component "Declans Korean Flash Cards"... will it make my mac suseptible to viruses overall due to having a windows component? also will it make my mac slower as well

    If you are only going to use one or two window only programs then I wouldn't waste the space.  Try WinonX it allows you to install exe. Files on Mac without installing windows.

  • Run a .exe file with parameters from my java code

    Hi, I want to run a .exe file from my java program. This .exe file will take some parameters in the command line. I need
    to supply that to the program as well. Can someone help me in this please?
    Thanks in advance.

    I am trying like this:
    public class lauch_ext {
         public static void main(String[] args) throws Exception{
              try {
                Runtime rt = Runtime.getRuntime();
                Process pr = rt.exec("C:\\Apps\\myapp.exe arg1 -arg2 return_arg");
                BufferedReader input = new BufferedReader(new InputStreamReader(pr.getInputStream()));
                String line=null;
                while((line=input.readLine()) != null) {
                    System.out.println(line);
                int exitVal = pr.waitFor();
                System.out.println("Exited with error code "+exitVal);
            } catch(Exception e) {
                System.out.println(e.toString());
                e.printStackTrace();
    }

  • I have downloaded the Premiere 10 trial and run the exe file in...\Adobe Premiere Elements 10\PRE 10

    I have downloaded the Premiere 10 trial and run the exe file in...\Adobe Premiere Elements 10\PRE 10\ElementsSTIInstaller, However, I can not find the program on my computer.  Can you please tell me the procedure to install the program following the down load???
    P.S. the download assistant does not install the program automatically and I have restarted the computer.
    Thankyou

    this might help:
    http://helpx.adobe.com/photoshop-elements/kb/install-premiere-elements-photoshop-elements. html

  • Is it possible to convert Java to EXE and run this EXE file without any JRE

    hello friends
    I have GCC/GCJ for windows but dont know how to work with it... it creates file with .o extension but i m not able to create .exe from that... i installed mingw for that also .. unsuccessful ...
    tell me the solution for it... i want to generate machine dependent exe from java file...on the web i ve seen that GCC/GCJ is used on linux platform..not cleared properly..
    Again i m writing my question
    Is it possible to convert Java to EXE and run this EXE file without any JRE if yes then how... tell me the procedure to do that...

    Vipul wrote:
    Its software now hardware .... some times u need these things ...anyway do u ve solution for my questionSo what? By creating a native executable you are restricting the program to the OS for which that native executable was made, just like removing the engine from a car restricts driving to downhill only. So like the I said, the principle remains the same, "Why would you want to?"
    I am asking you, truthfully, why do you feel the need to negate the largest advantage of using Java by creating a native executable from it?
    What is your rationale?
    I can pretty much guarantee there is a much better way of achieving your wish without "removing the engine".

  • Running an exe file from java

    Hi , can anyone tell me how to run an exe file from my java program. the exe is in the same directory as my java files . When i click on a button i want to put something in the actionPerformed() method which will launch the exe file - prog.exe
    Hope someone can help me.
    Thanks Jim

    Hi !
    Look at the RunTime class...

  • I want to run my .exe file in same time when Labview started to run

    Somebody know, how do it?

    Slonbob wrote:
    Yes, but I want run LabVIEW, then run my exe backgroung
    Right, so run a batch file instead of LabVIEW.
    Or if you must run "LabVIEW.exe" rename "LabVIEW.exe" to "LabVIEW Backup.exe" then make an EXE that just runs "LabVIEW Backup.exe" then your program and name it LabVIEW.exe.

  • 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?

  • Can not start exe file. 102208 error.

    Hello I have a pretty big labview project. It can be successfully compiled and started on my PC. But when I try to run exe file on another PC I got an error. Error code is 102208 and message suggests me to install "Full Development System". Does anybody know why it could be possible? Both PCs have "Professional Development System" installed. The only difference is that my LabView is English another Korean.
    Thank you.

    1) Check you have included all dependencies in your project when you built the Exe.
    2) Check you didn't have "Require the LabVIEW Development Environment" ticked when you build your Exe - that way you can eliminate lots of errors.
    3) if all else fails, create an installer to install the exe on PC 2 from PC 1 - then you are sorted. If you follow the above steps and include the correct things in the installer, then it will be able to run on a machine without LabVIEW.
    I suspect 1 of 2 things is wrong:
    1) you have different versions of LabVIEW
    2) you have a component installed which the exe needs which is not installed on the Korean machine
    3) you have set the EXE language not to include Korean. 
     - either of these could upset the Exe as they could cause it to not have the required components to run.
    Hope this helps
    James

  • I can download firefox, but when I try to run it, windows 7 asks me to select a program type to run the *.exe file

    I am running windows 7 with IE 10. I want to switch to Firefox as my browser. I am able to download the Firefox Setup 22 0 exe, but when I try to open or run it, windows prompts me to "choose the program you want to use to open this file". This happens with both the Firefox Setup Stub 22 0 exe (274kb) and the Firefox Setup 22 0 exec (21,239Kb). I can't find any program on Windows to run this exe. Same thing happens when I try to run the troubleshooter exe.

    Hello annsboland
    Do you have also problem with others exe files ?
    try to create a new user account in Windows 7 and check it again
    see if the next articles in the links helps to create the new account:
    http://www.bleepingcomputer.com/tutorials/create-new-user-account-in-windows-vista-7/
    http://www.pcadvisor.co.uk/how-to/windows/3326039/how-add-new-user-account-in-windows-7/
    thank you

Maybe you are looking for