How to run the cmd or bat files in the con current program R12 Windows

Hi,
I would like to run one cmd or batch file, usually it is looking exe file only.
How do we register the cmd or bat files?
We encountered lot of problems to call the exe files, now we want to know to use the cmd file or batch or prog file (abc.cmd or abc.bat or abc.prog)
Application: R12.0.4
OS: Windows 2003
Awaiting for your sincere response,
Thanks,
M.K.Thamaraiselvan

Hi Hussien,
Please help me that
1. Create a file under the %FND_TOP%\bin directory called testhost.cmd
In the file put the following two lines:
ls >> testhost.txt
exit
2. From the %FND_TOP%\bin directory, do the following:
copy fndcpesr.exe testhost.exe
I understood the above 2 steps, the below one, is making confusion. Can you explain that what application i have to choose. 3. Register testhost (use 'testhost' for the Execution File Name) as a concurrent executable in Oracle Applications.
4. Register a testhost host program as a concurrent program in Oracle Applications.
5. Add the program to your report group.
Awaiting for your explanation clearly to go ahead.
Please explain me that which application i can choose while define the executable and program.
awaiting.
Thanks
M.K.Thamaraiselvan

Similar Messages

  • How to run sql query in bat file in task schedular at every 10 seconds

    This is my sql script :
    DECLARE @countRows INT,
    @currDate DATE,
    @checkForTasks INT,
    @created_by_id INT,
    @gst_ID int;
    SET @currDate = Getdate()
    SET @countRows = (SELECT Count(*)
    FROM [dbo].[sd_gst_effective_table]
    WHERE isapplied = 0)
    IF @countRows > 0
    -- Check for those GST''s who are not applied yet : if they are greater than 0 then perform next task
    BEGIN
    SET @checkForTasks = (SELECT Count(*)
    -- Check is current date equals to task date or not
    FROM [dbo].[sd_gst_effective_table]
    WHERE effect_date = @currDate AND isapplied = 0)
    IF @checkForTasks > 0
    -- If current date = task date then perform this task
    BEGIN
    SET @created_by_id = (SELECT TOP 1 createdby FROM [dbo].[sd_gst_effective_table] WHERE effect_date = @currDate AND isapplied = 0)
    SET @gst_ID = (SELECT gst_id FROM [dbo].[sd_gst_effective_table] WHERE effect_date = @currDate AND isapplied = 0)
    -- STEP 1 :: InActivate the existing GST according to createdbyID
    UPDATE sd_gst_rate
    SET isactive = 0,
    inactivedate = Getdate()
    WHERE isactive = 1
    AND createdby = @created_by_id
    -- STEP 2 :: Activate the New GST according to implementation date and gstID
    UPDATE sd_gst_rate
    SET isactive = 1,
    activedate = Getdate()
    WHERE id = @gst_ID
    -- STEP 3 :: Inactivate the applied GST from sd_gst_effective_table
    UPDATE [dbo].[sd_gst_effective_table] SET isApplied = 1 WHERE gst_id = @gst_ID
    END
    END
    DECLARE @Text AS VARCHAR(100)
    DECLARE @Cmd AS VARCHAR(100)
    DECLARE @value nvarchar(1000);
    SET @value = (SELECT CONVERT(TIME,GETDATE()) AS HourMinuteSeconds);
    SET @Text = 'File Writed ' + @value
    SET @Cmd ='echo ' + @Text + ' > E:\AppTextFile.txt'
    EXECUTE Master.dbo.xp_CmdShell @Cmd
    This is resided in videos folder of windows , i have created a task schedular in windows 8.1 to run daily at every 10 seconds , but it is not working ... Please tell me how to deal with it.
    Please note : This sql query is running perfectly in sql server. Query have no errors. Please check whats wrong with my time schedular. I just want my schedular to run every 10 seconds regardless of date.

    Hi Emad,
    Is your script in a ".sql" file? May I know how you configure the schedule task action?
    Since you didn't mention how you configure the schedule task, can you confirm you have followed the below step correctly?
    Save your script in a ".sql" file.
    Create a ".bat" file and call the sql file above inside with
    sqlcmd.exe, you can reference
    here.
    Configure a schedule task to run the ".bat" file in a certain interval.
    Have you tried to run the script in you bat file in a standalone commandline window? Please post the script in your bat file, It can help to diagnose the issue.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Trying to Deploy either a .cmd or .bat file to update a registry Entry but not working

    Hello.
    I'm trying to deploy either a .cmd or .bat file to a few computers to update the registry and When I run the .cmd or .bat on the pc manually it works just fine. However when I create an application and try to deploy to the computers I keep getting the error
    "The application was not detected after installation completed."
    When I login to that computer I can tell that the file has not been run as none of the reg settings are changed
    In the application properties I have tried cmd.exe "RegUpdate.cmd" and regedit /s "RegUpdate.cmd" and same result. Any ideas?

    I have an application that has some different options for its configuration which all populate the registry.  The application has a option that when you set all the options like you want them you can click save as and it creates the .cmd file for you
    with all the registry settings.
    .cmd contents below:
    @echo off
    set SYSOPTS=%TEMP%\SysOpts.reg
    set REGSWROOT=SOFTWARE
    if [%PROCESSOR_ARCHITECTURE%]==[AMD64] set REGSWROOT=SOFTWARE\Wow6432Node
    echo REGEDIT4 > %SYSOPTS%
    echo. >> %SYSOPTS%
    echo [HKEY_LOCAL_MACHINE\%REGSWROOT%\GeoGraphix\Tools\ProjectManager] >> %SYSOPTS%
    echo @="List service communication parameters" >> %SYSOPTS%
    echo "AllowIn"=dword:00000000 >> %SYSOPTS%
    echo "SeeOut"=dword:00000001 >> %SYSOPTS%
    echo "Concurrent"=dword:00000000 >> %SYSOPTS%
    echo "ServiceStopType"=dword:00000002 >> %SYSOPTS%
    echo "Protocol"=dword:00000002 >> %SYSOPTS%
    echo "AllowNotifyReceive"=dword:00000000 >> %SYSOPTS%
    echo "BroadcastType"=dword:00000002 >> %SYSOPTS%
    echo "BroadcastAddr2"=hex(7):74,75,6c,67,67,78,2e,53,54,4d,2e,41,44,00,74,75,6c,67,67,78,32,2e,53,54,4d,2e,41,44,00,74,75,6c,67,67,78,33,2e,53,54,4d,2e,41,44,00,00, >> %SYSOPTS%
    echo. >> %SYSOPTS%
    echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLANYs_GGX\Parameters] >> %SYSOPTS%
    echo "Parameters"="-n GGX_%COMPUTERNAME% -x TCPIP -xs HTTP(PORT=13386) -ti 0 -ch 15p -gd ALL -gp 8192" >> %SYSOPTS%
    echo "ClientParameters"="-x TCPIP(IP=#SERVER_ADDRESS#;PORT=#SERVER_PORT#)" >> %SYSOPTS%
    echo. >> %SYSOPTS%
    echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\GGX List Service (v2)] >> %SYSOPTS%
    echo "Start"=dword:00000003 >> %SYSOPTS%
    echo. >> %SYSOPTS%
    echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\GGX Network Access Service] >> %SYSOPTS%
    echo "Start"=dword:00000003 >> %SYSOPTS%
    echo. >> %SYSOPTS%
    echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SQLANYs_GGX] >> %SYSOPTS%
    echo "Start"=dword:00000003 >> %SYSOPTS%
    %windir%\regedit.exe /s %SYSOPTS%
    del /f %SYSOPTS%
    set SYSOPTS=

  • How to start the Toshiba Ghost image files from the HDD

    Hello
    Ok this is a tough one but hopefully some tech/wizz can help me out.
    I have all the necessary CD Recovery disc but my Toshiba laptop CDRom has died and i'm looking for replacement at the moment.
    I have managed to copy the image files and all the other info from these CD's onto the laptop hard drive via a network from my desktop cdrom. I did try to use the desktop cdrom to boot the 2.5" laptop drive but it knew it wasnt a toshiba laptop so wouldn't let me recovery.
    However now I have manage to copy all the ghost image files onto the laptop hdd I'm stuck on how to run installation via dos.
    The laptop hdd is formatted and all i have are the following files
    span.bmp
    setenv.bat --------> batch file contains following lines
    @ECHO OFF
    SET GHOSTPAR=
    SET SWN=01237000
    SET EXT=GHO
    SET VOLLABEL=%SWN%
    SET FILENAME=%SWN%.%EXT%
    01237001.GHS------> PART 2 OF IMAGE
    01237000.GHO -----> GHOST IMAGE MAIN
    01237000.CRC
    A folder called G_INST
    which contains 3 extra folders BMP, DOS and TOOLS and span.bmp
    I cant figure out how i can run ghost to extract and recovery my HDD can someone help me :)
    Thanks in advance
    Simon

    Im really skeptical if you will be start the Toshiba ghost image files from the second partition without using the Symantec Norton Ghost software.
    I have created a ghost image of the C partition and placed it on the D partition.
    To recover the C partition I have to start the Ghost Utility and have to use the image file .gho from D partition
    I have googled a little bit and found the useful instruction how to recover the Portege M3500 without using an CD/DVD drive. Maybe this will run also on the Sat A30.
    http://mobilepcwiki.com/mpc/index.php?title=Toshiba/Portege_M3500/FAQ
    By the way: the internal, compatible ODD can be ordered from the ASP in your country!

  • How to call a exe or bat file from java program

    hi,
    i actually want to know that how to call a exe or bat file from program so that i can run them parallely.

    Try this :
    String strCmd = "myFile.bat";
    try
         Runtime rTime = Runtime.getRuntime();
         Process process = rTime.exec(strCmd);
         InputStream p_in = process.getInputStream();
         OutputStream p_out = process.getOutputStream();
         InputStream p_err = process.getErrorStream();
         p_in.close();
         p_out.close();
         p_err.close();
    catch(Exception e) {
         throw new Exception("Unable to start, "+strCmd);
    }

  • How do I convert my .mpeg /  .bat files into ones compatible with iPod ?

    I know its a basic question but I want to find out as a new user of iPod Video as to how i can convert .mpeg and .bat files to ones which are compatible with iPod ?

    Hi Ravindra,
    welcome to this forum
    iMovie is an edit app...
    you raise the chance to get an answer to your specific question by posting here:
    http://discussions.apple.com/forum.jspa?forumID=808
    besides: converting mpgs or even .bat files ISN'T basic ... ;-))

  • How to run a CMD command directly from run ?

    How to run a CMD command directly from run ?
    Like "cmd md D:\abcd". I did this before. But now I totally forgot how to do that ?
    Please help..........

    Hi,
    To add, here is the command CMD reference:
    Cmd
    Best regards
    Michael Shao
    TechNet Community Support

  • How do I access my back up files from the time machine if my computer was stolen?

    Hi, how do I access my back up files from the time machine if my mac book pro was stolen? I have a mac book air and mac too. But not sure how I can get back all the files from the stolen computer from my time capsule

    On the Mac Book Air or other Mac that you have, use Migration Assistant to transfer files from the Time Machine backups of the Mac that was taken.
    Macintosh HD > Applications > Utilities > Migration Assistant

  • How do I setup permission to transfer files to the MacMini Server. I thought I had it setup to do such but apparently not as I get an error message?

    How do I setup permission to transfer files to the MacMini Server. I thought I had it setup to do such but apparently not as I get an error message that I don't have permission?

    Both the Mac and Windows units we are usinghave connectivity to the MacMiniServer (on the same network) to open and edit files but cannot transfer new files to the MacMini. FileSharing is on. I went to File Sharing on the MacMini and added the appropriate users and checked FileSharing. Is there something else I needed to do?

  • How to list the top 10 largest files in the current working directory ?

    How can I list the top 10 largest files in the current working directory in Solaris ?

    execute below....to get the large files in order.. change the <FS>
    find /<FS> -type f -size +1024 -ls | awk '{print $11, $7}' | sort -rn +1 | awk '{print $1, $2/1024/1024 "MB"}' | /bin/more

  • How we can restrict record in CTL file on the basis of other table ?

    Hello all,
    How we can restrict record in CTL file on the basis of other table ?
    Eg.
    I have following control file to load the records in the table through the sql loader.
    LOAD DATA
    INTO TABLE THIST APPEND
    FIELDS TERMINATED BY "|" TRAILING NULLCOLS
    LNUM POSITION(1) Char "substr(:LOAN_NUM, 4, 13)",
    TSRNUM Char "rtrim:TRAN_SR_NUM)" ,
    TPROCDT Char "to_char(to_date rtrim:TRAN_PROC_DT), 'MMDDYYYY'), 'YYYYMMDD')"      
    I have another table c all TFILE in which I have LNUM. I want to import only those records from input text file using the control file and sql loader in which LNUM is exist in the TFILE.
    So how i can restrict it in the Control File.
    Thanks
    Kamlesh Gujarathi
    [email protected]

    Hello Satyaki De.
    Thank you very much for your suggestion but my Private information is totally apart from this question & I already I have changed each and every information from the question.
    Thanks
    Kamlesh Gujarathi
    [email protected]

  • How to run others application in Oracle Forms on the web version?

    How to run others application in Oracle Forms on the web version?

    Pang,
    guess that you want to start client side programs from Forms on the Web. There is a sample on OTN (host bean) that allow you to acces sthe client and start executables.
    Frank

  • Email attachments: whenever someone sends me a file the Ipad labels it winmail.dat and wont allow me to open it...these are Word, Exce or jpgs.  Does anyone know why this is and how to fix it?  Also, how can you save attachments to a file on the IPad2

    whenever someone sends me a file the Ipad labels it winmail.dat and wont allow me to open it...these are Word, Exce or jpgs.  Does anyone know why this is and how to fix it?  Also, how can you save attachments to a file on the IPad2

    Is this a particular sender, or all of your attchments?  Google winmail.dat and you will see a number of returns that can explain this, but in short, this is the way some e mail providers deal with attachments.  If all of your e mail is coming that way, you need to change a setting on your isp set up.  Perhaps stary here...
    http://www.nytimes.com/2010/11/25/technology/personaltech/25askk.html

  • Problems running bat file with calls to java programs (.jar)

    I created a bat file with calls to jar programs. In each line,
    I put a call to the programs with parameters, but bat only
    executes the first line and ends execution.
    All lines of my bat file must be executed.
    What should I do?
    Best Regards,
    Pedro Felipe
    [http://pedrofao.blogspot.com|http://pedrofao.blogspot.com]
    [http://viajantesmundo.blogspot.com/|http://viajantesmundo.blogspot.com/]

    user8730639 wrote:
    I realized that the problem isn`t my bat file. I made tests calling another jar files and then all the lines of the batch file were executed. So, the jar file called on my previous bat is finnishing the execution. I verified and the jar apps worked without error.
    I would like to know if exists any command in Java that can cause this effect (close a batch), to modify the open source code of the application.Not that I know of.
    Is prism a bat file?
    If you are invoking bat files from your bat file without using call that would explain it
    :: mymain.bat file
    :: call the first bat file
    call prism.bat arg1 arg2 arg3
    :: call the other bat file
    call prism.bat arg4 arg5 arg6
    ::

  • How do u out your own video files on the ipad?

    How do u put your own video files on the ipad and once u have done it where do u look to find it to play

    You load them into iTunes and then sync them to your iPad. You'll then find them in the Video app. For detailed information, consult the iPad User Guide; the sections on Synching and Videos will be most applicable. Then if you have specific questions, post back and we can help further.
    Regards.

Maybe you are looking for

  • How to: enable 3D acceleration for Savage IX/MV graphic cards

    'lo all, I'm trying out Arch Linux and this my first post on this forum. Here is my solution for a hardware configuration issue. This was also posted on the Ubuntu forums. Regards Satellite Pro 4280 laptops come with a S3 Savage IX/MV graphics card w

  • Starting WebLogic7.0 (throws exception)

    I installed WebLogic7.0 on Windows200 Server. While i atempt to start WebLogic7.0 Server i take some exception and server failed. Exceptions are: weblogic.management.Configuration.Configurationexception....nested exception javax.management.ServiceNot

  • IRiver Story E reader..How can I Copy DRM books to it?

    This device will read pdf and epub formats.  I have copied many books from the public domain in these formats.  However the DRM formatting seems unable to be read by the Iriver reader.   I have purcahsed and downloaded a number books successfully and

  • Dial-In Conferencing page does not open from Lync 2013 client

    Hello Everyone, I am facing this strange issue with my Lync Clients. All the users started experiencing the same behavior. So, I think this has something to do at the Server side. Earlier, when trying to open the Dial-in conferencing settings from th

  • Ajustar front panel a tcp 2206

    Buenas tardes; En su momento desarrollé un vi para que se ejecutase en un PC con una pantalla, pero se va  a cambiar por una pantalla táctil tcp 2206. A la hora de hacer el ejecutable, una vez que lo paso a la pantalla táctil, el Front Panel me queda