Help the call of a batch of the projector file

Hi all.  I have asked a number of questions here recently and have been very satisfied with responses, then here is one more for you.  I hope I can get another solution. :]

I have a flash project acting as a menu and published as a .exe (projector).  In this file, I have a button with the following code:


{Button1.onRelease = Function ()}

fscommand ("exec", "openfiles.bat");

}

I have a fscommand folder (in the same directory as my flash file) that contains the openfiles.bat with a single line:

Start MyFile.txt

MyFile.txt is also located in the fscommand folder.  When I click on this batch file and run it, the text file opens properly.  However, when I click on the button in my flash file, a command prompt window flashes too fast to do with some kind of error message.  It says something not to find a certain directory and or in the windows directory by default.  I guess it does not find my batch file or in my text file.  I feel that as long as everything is in the fscommand folder, it should work fine.  Can anyone offer me any advice?  Thank you!

http://www.Northcode.com/blog.php/2007/08/14/fscommand-exec-is-broken-in-Flash-CS3

Tags: Adobe Animate

Similar Questions

  • Help the missing file

    I'm under 8 PE and the help file has not been installed.  I tried lookin on the installation CD, but there is no help file installation option.  I use the program on an IMac.  Help!

    The help of PSE 8 is online, not on your computer, but you can download a copy for use off line here:

    http://help.Adobe.com/en_US/PhotoshopElements/8.0/Mac/using/index.html

    Make a right click or Ctrl click where it says "View help PDF here" and you can choose to save it on your computer.

  • Get the name of the movie file, not source.dir name?

    How can I know the real of a movie file name as it appears in the directory / folder on drive at RUN time.

    I have a projector that I use in many places on several CD-ROMs, and I rename this projector to match the particular CD

    For example:
    I have a project for the Oman, and I rename the projector on: Oman_Demo.exe

    Yet, when the projector asks "movieName", he always gets the name of the Source file. 'myStartup.dir '.

    How can I get the name of the Runtime of the projector file?

    (I'm also using the BuddyAPI Xtra in the projector, if that helps)

    Try
    the applicationname

  • Help! How can I call the Matlab file with toolbox (matlab 7.1) in labview 8.6?

    Hello

    I developed a file matlab to optimize a system, it's Toolbox. Entries should be in Labview but also the outputs should be included in the labview graph.  The results include arrays. CVI is not installed. My labview is version 8.6. MATLAB is version 7.1.

    (1) is the version of labview and matlab questions in this problem?

    (2) what is the best solution? Matlab script? DLL? Active X?

    (3) if I could use matlab script, I define the type of each variables in labview, including those of the code?

    Thank you!

    Jessie

    Step 1: Learn patience. This forum provides no immediate technical assistance. It is composed mainly of volunteers, and most of us have full-time jobs.

    (1) is the version of labview and matlab questions in this problem?

    Not really.

    (2) what is the best solution? Matlab script? DLL? Active X?

    Any of these will work. If you want to use the script, then you must use the Matlab Script node. This allows you to enter the Matlab code directly in the node, or you can call scripts that you have on your file system. This method requires that you have MATLAB hand whole on the target computer. If you create a DLL Matlab, then you use the node library function call and call the DLL as any other DLL. This method simply requires that you have the Matlab Runtime on the target computer.  I assume when you say that you're referring to writing your own ActiveX ActiveX component?

    (3) if I could use matlab script, I define the type of each variables in labview, including those of the code?

    I don't know what you mean by defining each variable type. You need to create the entries and exits on the Script node Matlab, so you can pass data between LabVIEW and Matlab environment. The help of LabVIEW contains more information on the use of the Matlab Script node. There are also some examples with LabVIEW.

  • Can LabWindows libraries call function inherited from read the Datalog file?

    We are currently updating some old software written in LabVIEW 6.0.3 to Java. One of the features of the original software is to create data files using the function "Write Datalog" and also remind these databases later using 'Read Datalog'.  To maintain backward compatibility with old data users, we want that new software to also be able to read and display the old datalogs.  I have read several posts here about how the only way to get data off datalogs uses the function 'Reading Datalog' of the same version of LabVIEW to write the paper in the first place. I have the original LabVIEW code so I don't know the structure of the data that has been written.

    I want to know if there is the same function in LabWindows libraries.  Specifically is there is no support for a 6.0.3% version of the function of reading Datalog to support interfacing with a call to java?

    To knock out a possible solution, this software is shared with clients.  We want to avoid the way of compiling an executable separated from LabVIEW to be distributed with the main Java software which batch processes all the old data files in reading them with the old function of LabVIEW and spitting out files in a new format.  We would prefer for the old files to be transparent open into the new software.

    WARNING: I use LabVIEW for dark days before the invention of the button cancel, but never touched LabWindows/CVI. Please enter slowly so I will understand

    Thank you all!

    I guess that is not a built-in library capable of reading files datalog LabVIEW simply because they do not have a fixed format... Even in LV, you will need to pass the data structure for the opening function in order to be able to read the data back.

    Searching the forum I found this discussion that can give you useful to begin with.

    Apparently, you need detect the beginning of the section of the data file after the initials "DTLG" and rest of the header (which is the part not documented). After this point, read the file should be simple if you know the data structure the program writer used. The data > storage section of LabVIEW help can give you information about the content of the memory of each type of data used.

    A simple test, I did write the clusters with a string and an integer shows that: 1. section of data begins at offset 0x22F; 2. the cluster is poured into the file preceded an int with the length of the string; 3. documents may have a variable length according to the length of the string; 4. There are no bytes of padding between elements of the cluster; 5. records are packed in the file consecutively.

    I did this test using LabVIEW2009: it is possible that older files of LV are structured differently.

    An alternative to this is to generate a DLL in LabVIEW that reads files datalog and passes their content to the appellant. Since you are experienced in LV, you are certainly more comfortable than me by doing this.

  • Schedule the Winzip files and 'compatibility' with Windows 7 - HELP!

    Hello

    I have recently upgraded to Windows 7 from XP.  I have an online game (war hammer) with some friends and need to download a few files of curse.com to upgrade my interface in this game.  Under XP, things has worked well, but here's my problem with Windows 7.

    Everything by searching my directory of war hammer I found it under Program Files (x 86) vs my normal method on my desk or in the program file.  I keep Electronic Arts Warhammer Online - Age of Reckoning - Interface - Addons.

    From here, I have the head on the Curse.com website and save the files under this folder.  Then, I went to winzip and extract use them all in the game (war hammer).  When I tried to see the files in that folder, I was surprised to see 'nothing' listed!  I called a friend to walk me through the way he his under windows 7 and for some reason any, he has his records and mine are gone.  However, there is a button at the top that says: "compatibility files"?  If I click this button then all of my files show but for some reason any, that they cannot be played in the game to do what I need to do...

    Thoughts?

    Help!

    Hi Zhadum,

    As the game is compatible with Windows 7, it is indicated herethe link of Microsoft Compatibility Center. It should work in normal mode; I suggest you contact the manufacturer of the game, as the issue seems to be with the game from the link below.

    http://www.warhammeronline.com/forums/

    Concerning

    Arona - Microsoft technical support engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • I get the following error messages at startup: Windows Sidebar Settings.ini. is used by another system. Recorder warning: recorder! Initialize is not yet call... The log file can corruption exp. application failure did not start.

    Original title: opening of the pop ups

    I have Vista Home version.  When I connect, I get the pop - ups following:

    1.) _Windows sidebar Settings.ini. is used by another system.

    Recorder 2.) WARNING: Logger! Initialize is not yet call... The log file can corruption exp.

    3.) down the application did not start.

    Also: while I'm on the internet a pop - up occurs from time to time indicating: "Internet Explorer has stopped working".  Sometimes I get started, and sometimes I can just 'X' out and I'm always on.

    Hello

    1 how long have you been faced with this problem?
    2 did you recent hardware or software changes to your computer before this problem?

    I suggest you try the procedure below.

    Step 1: Try to perform the clean boot in order to solve startup error messages.

    From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".

    Follow the steps provide in the article below to perform the clean boot. http://support.Microsoft.com/kb/929135

    Step 2: I suggest you try the steps outlined in the article below to solve the problem of internet Explorer.
    http://support.Microsoft.com/kb/936213

    Thanks and greetings
    Umesh P - 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.]

  • Help the BSOD with DPM report

    IM is no need an answer thank you at all, I have written that this cause they won't let me delete this post

    We need the log files themselves (called a DMP files) because they contain the only record of the sequence of events that led to the accident, what drivers have been loaded, and what has been loaded.
    Please follow our instructions to find and download the files, we need to help you fix your computer. They can be found at here
    If you have any questions regarding the procedure, please ask
  • Help blackBerry Smartphones! the hidden files/pictures, tried to explore but without success!

    I created a few files containing images in my photo camera and selected so that these records be hidden. The images themselves of these hidden folders were always in my folder images in 'media' so I hid each image as well. I have read other suggestions to go explore and then selecting the option "Show hidden" and what I have hidden NOTHING will appear. Hidden folders do not appear, nor the individual hidden images. I've looked everywhere. Help, please! Thank you.

    Well, I tried to reproduce what you were doing. For me, it works exactly as it should:

    1. I created a folder on my map of media, called 'test '.
    2. I put a picture in this folder
    3. I hid the image
    4. I then hid the folder
    5. Without 'Show hidden', the folder does not appear
    6. With 'Show hidden', the folder will appear greyed out, and I can bring up its properties and display it
    7. Once the folder is not hidden, I can then navigate inside, then, seeing the photo file greyed, I can also display

    So I don't quite know why it does not work in your case... not my not adequately replicate what you did?

  • Helps the Parseing XML

    Version: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production

    Hello

    I need assistance with an XML file to generate lines to insert into a table staged for further processing.

    There is an XML document that is loaded into a table in the database via a Web Service call.

    I need to query this table to get the XML code, loop through it to create folders, with the fields in a specific order and insert records into a table of staging.

    There are two columns that are not in the XML that are added during the process. I am including these tables as well.

    I know it is a bunch of "stuff", but I hope I've provided enough information to get help.

    The tables and insert queries:

    -This table contains the XML of the Web Service call

    CREATE TABLE exam_results
    (
    CLOB results_clob
    );

    INSERT INTO exam_results (results_clob)
    VALUES
    ("< result > < candidate > < ProgramCandidateID > 911221 < / ProgramCandidateID > < LastName > V361208 < / LastName > < FirstName > J361208 < / FirstName > < / candidate > < event > < ended > 1 < / filled > < CompleteDate > 2011 - 08 - 05T 10: 23:42.957 < / CompleteDate > < FormName > SSU11-05 < / FormName > < NumStarts > 2 < / NumStarts > < ProgramRegistrationID > SU0006510JV < / ProgramRegistrationID > < result > 564865 identifier < / result identifier >") < Sponsor > MySponsor < / sponsor > < StartTime > 2011 - 08 - 05T 08: 22:47.877 < / StartTime > < TestName > SSU11 < / TestName > < / Event > < start > < Start > < BrowserVersion > 8.0 < / BrowserVersion > < OperatingSystem > Windows NT 4.0 < / OperatingSystem > < / Start > < / begins > < Scores > < issues > < > < name > 105103 < / name > < SeqDelivered > 1 < / SeqDelivered > < response > 1 < / response > < key > 4 < / key > < seconds > 169.126 < / seconds > < Section > 1 < / Section > < / Question > < Question > < name > 261292 < / name > < SeqDelivered > 2 < / SeqDelivered > < answer > 3 < / response > < key > 3 < / key > < seconds > 97.984 < / seconds > < Section > 1 < / Section > < / Question > < Question > < name > 261241 < / name > < SeqDelivered > 3 < / SeqDelivered > < response > 3 < / response > < key > 3 < / key > < seconds > 87.579 < / seconds > < Section > 1 < / Section > < / Question > < Question > < name > 261451 < / name > < SeqDelivered > 4 < / SeqDelivered > < answer > 3 < / response > < key > 3 < / key > < seconds > 59.983 < / seconds (> < Section > 1 < / section > < / Question > < Question > < name > 264373 < / name > < SeqDelivered > 5 < / SeqDelivered > < response > 5 < / response > < key > 1 < / key > < seconds > 86.346 < / seconds > < Section > 1 < / Section > < / Question > < / Questions > < / Scores > < / result > ');

    -This table is to get 1 of the additional columns that must be included

    CREATE TABLE tracking_id_tbl
    (
    tracking_id NUMBER,
    customer_id NUMBER,
    launch_code VARCHAR2 (11)
    );

    INSERT INTO tracking_id_tbl (tracking_id, customer_id, launch_code)

    VALUES (557,2296267, 'SU0006510JV');

    -This table is to get the other extra column which must be included

    CREATE TABLE school_code_tbl
    (
    customer_id NUMBER,
    nb_id NUMBER,
    organization_id VARCHAR2 (8)
    );

    INSERT INTO school_code_tbl (customer_id, nb_id, organization_id)

    VALUES (2296267,911221, '12');

    -This table will receive the file created from the XML

    CREATE TABLE staging_tbl
    (
    results_data VARCHAR2 (4000)
    );

    To facilitate the XML file to read (we hope) here is a formatted version:

    < result >

    < candidate >

    < ProgramCandidateID > 911221 < / ProgramCandidateID >

    < name > V361208 < / LastName >

    J361208 < FirstName > < / name >

    < / candidate >

    < event >

    < finish > 1 < / completed >

    < completeDate > 2011 - 08 - 05T 10: 23:42.957 < / CompleteDate >

    SSU11-05 < FormName > < / FormName >

    < NumStarts > 2 < / NumStarts >

    < ProgramRegistrationID > SU0006510JV < / ProgramRegistrationID >

    ID of < result > 564865 < / ID results >

    < sponsor > MySponsor < / sponsor >

    < StartTime > 2011 - 08 - 05T 08: 22:47.877 < / StartTime >

    SSU11 < TestName > < / TestName >

    < / event >

    < start >

    < start >

    < > 8.0 BrowserVersion < / BrowserVersion >

    < OperatingSystem > Windows NT 4.0 < / OperatingSystem >

    < / start >

    < / starts >

    < scores >

    < questions >

    < question >

    < name > 105103 < / name >

    < SeqDelivered > 1 < / SeqDelivered >

    < response > 1 < / answer >

    < Key > 4 < / key >

    < seconds > 169.126 < / seconds >

    article <>1 < / Section >

    < / question >

    < question >

    < name > 261292 < / name >

    < SeqDelivered > 2 < / SeqDelivered >

    < response > 3 < / answer >

    < Key > 3 < / key >

    < seconds > 97.984 < / seconds >

    article <>1 < / Section >

    < / question >

    < question >

    < name > 261241 < / name >

    < SeqDelivered > 3 < / SeqDelivered >

    < response > 3 < / answer >

    < Key > 3 < / key >

    < seconds > 87.579 < / seconds >

    article <>1 < / Section >

    < / question >

    < question >

    < name > 261451 < / name >

    < SeqDelivered > 4 < / SeqDelivered >

    < response > 3 < / answer >

    < Key > 3 < / key >

    < seconds > 59.983 < / seconds >

    article <>1 < / Section >

    < / question >

    < question >

    < name > 264373 < / name >

    < SeqDelivered > 5 < / SeqDelivered >

    < response > 5 < / answer >

    < Key > 1 < / key >

    < seconds > 86.346 < / seconds >

    article <>1 < / Section >

    < / question >

    < / questions >

    < / scores >

    < / result >

    This XML file is for 1 card. There are several issues that are in the file. I reduced to only 5 is easier to see.

    The layout of the document to be inserted in the staging table is:

    Event.TestName

    Event.FormName

    Event.CompleteDate

    v_tracking_id

    Event.ProgramRegistrationID

    Event.StartTime

    Event.CompleteDate / * end * /.

    Candidate.LastName

    Candidate.FirstName

    Candidate.MiddleName (the middle name does not exist in the file XML then return null)

    Candidate.ProgramCandidateID

    v_school_code

    Candidate.CustomProperties.Answer (this does not exist in the file XML then return null)

    Event.ResultID

    Event.NumStarts

    Event.Completed

    Event.Sponsor

    Scores.Questions.Question.Name

    Scores.Questions.Question.Section

    Scores.Questions.Question.SeqDelivered

    Scores.Questions.Question.Key

    Scores.Questions.Question.Answer

    Scores.Questions.Question.Seconds

    Starts.OperatingSystem

    Starts.BrowserVersion

    The expected output is:

    INSERT INTO staging_tbl (results_data)
    VALUES ('SSU11,SSU11-05,08/05/2011,557,SU0006510JV,08:22:47,10:23:42,V361208,J361208,,911221,12,,564865,2,1,MySponsor,105103,1,1,4,1,169.126,Windows NT 4.0,8.0");

    INSERT INTO staging_tbl (results_data)
    VALUES ('SSU11,SSU11-05,08/05/2011,557,SU0006510JV,08:22:47,10:23:42,V361208,J361208,,911221,12,,564865,2,1,MySponsor,261292,1,2,3,3,97.984,Windows NT 4.0,8.0");

    INSERT INTO staging_tbl (results_data)
    VALUES ('SSU11,SSU11-05,08/05/2011,557,SU0006510JV,08:22:47,10:23:42,V361208,J361208,,911221,12,,564865,2,1,MySponsor,261241,1,3,3,3,87.579,Windows NT 4.0,8.0");

    INSERT INTO staging_tbl (results_data)
    VALUES ('SSU11,SSU11-05,08/05/2011,557,SU0006510JV,08:22:47,10:23:42,V361208,J361208,,911221,12,,564865,2,1,MySponsor,261451,1,4,3,3,59.983,Windows NT 4.0,8.0");

    INSERT INTO staging_tbl (results_data)
    VALUES ('SSU11,SSU11-05,08/05/2011,557,SU0006510JV,08:22:47,10:23:42,V361208,J361208,,911221,12,,564865,2,1,MySponsor,264373,1,5,1,5,86.346,Windows NT 4.0,8.0");

    The Questions/Question, is what makes a separate line if the values for the other fields would be the same for however many questions is in the XML file.

    That's what I've tried so far:

    DECLARE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             CURSOR get_results_cur
    IS
    SELECT results_clob
    Of exam_results;

    get_results_rec XMLTYPE.
    get_results_clob CLOB.
    NUMBER (38) v_count: = 1;


    v_result VARCHAR2 (32000);
    v_tracking_id tracking_id.tracking_id_tbl%TYPE;
    v_school_code organization_id.school_code_tbl%TYPE;

    BEGIN
    OPEN get_results_cur.
    SEEK get_results_cur INTO get_results_clob;
    CLOSE Get_results_cur;

    get_results_rec: = xmltype.createxml (get_results_clob);

    SELECT tracking_id
    school_code
    IN v_tracking_id
    v_school_code
    OF ti tracking_id_tbl
    JOIN school_code_tbl ON ti.customer_id = sc.customer_id sc
    WHERE ti.launch_code = get_results_rec. EXTRACT ('/ Result/Event/ProgramRegistrationID/text()').getstringval () AND)
    nb_id = get_results_rec. EXTRACT ('/ Result/Candidate/ProgramCandidateID/text()').getstringval ();)

    While get_results_rec. EXISTSNODE ('/ / result [' | v_count |]) ']') = 1
    LOOP
    v_result: =.
    (get_results_rec. EXTRACT ('/ results/event/TestName [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/FormName [' | v_count | / text () ']) .getstringval ())
    || ','
    || ((get_results_rec. EXTRAIT ('/ résultats/événement/CompleteDate [' || v_count || / text () SUBSTR']) .getstringval ()), 1, 10)
    || ','
    || v_tracking_id
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/ProgramRegistrationID [' | v_count | / text () ']) .getstringval ())
    || ','
    || ((get_results_rec. EXTRAIT ('/ résultats/événement/StartTime [' || v_count || / text () SUBSTR']) .getstringval ()), 12.8)
    || ','
    || ((get_results_rec. EXTRAIT ('/ résultats/événement/CompleteDate [' || v_count || / text () SUBSTR']) .getstringval ()), 12.8)
    || ','
    || (get_results_rec. EXTRACT ('/ result/candidate/name [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ result/candidate/name [' | v_count | / text () ']) .getstringval ())
    || ',,'
    || -(get_results_rec. Extract('/result/candidate/MiddleName [' || v_count ||) '] / text () ') .getStringVal ()); ',' ||
    (get_results_rec. EXTRACT ('/ result/candidate/ProgramCandidateID [' | v_count | / text () ']) .getstringval ())
    || ','
    || v_school_code
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/result identifier [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/NumStarts [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/completed [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/sponsor [' | v_count | / text () ']) .getstringval ());
    || ','

    -Add the results of the first question

    || ','
    || (get_results_rec. EXTRACT ('/ result, departures, Start, OperatingSystem [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ result, departures, Start, BrowserVersion [' | v_count | / text () ']) .getstringval ());

    v_count: = v_count + 1;

    INSERT INTO staging_tbl (results_data)
    VALUES (v_result);

    END LOOP;
    END;

    What can clear?

    Thank you

    Joe

    You have several questions in the XML, so when flattened document you will have several lines trying to extract in v_result.  Where the error.  You will need to either loop

    for rec in (select... from XMLTable...)

    loop

    insert into staging_tbl...

    end loop;

    or make an insert select

    insert into staging_tbl (results_data)

    Select...

    from XMLTable...

  • I need to adjust the dpi when batch exporting a PDF file in format TIFF, Acrobat Pro

    Hi all

    I have Adobe Acrobat Pro. I use action tool export batch than several (approx. 425 individual pdf) pdf to TIFF format files. My problem is the resulting TIFF images are of low resolution, and I do not know how to set the export settings to get Adobe to export it to 600 dpi or more.

    If I jump the batch and each pdf file manually I can actually adjust the settings to 600 dpi, but I have too many files to do it manually. Also, if I use the feature to "combine files", bring all within a multi-page pdf, then export to TIFF: I can set it to 600 dpi, but then each file exported with a different file name. Example: "MAP5" gets exported as 'Page x of x' so I would rename of 425 files to their original file name.

    Thanks in advance for your time and your help.

    In the category 'Convert to PDF' of preferences, you can specify the resolution.

  • Hi, I use Adobe Photoshop Lightroom output CC Camera Raw 9.5 2015.5. I am now with Nikon D4s shooting but the lightroom does not read the RAW format. Why? Is it possible to import the RAW files in lightroom? Thank you for your help

    Hi, I use Adobe Photoshop Lightroom output CC Camera Raw 9.5 2015.5. I am now with Nikon D4s shooting but the lightroom does not read the RAW format. Why? Is it possible to import the RAW files in lightroom? Thank you for your help

    I'm not an apple person.  I read on a few different forums that apple has changed what is called 'writing' in a recent update to apple.  You may need to find an Apple expert to show you how to make sure you are allowed to write to files or locations on your computer.

  • help how to ignore the header record in the input file

    Hi gurus,

    Kindly help here.

    I'll have to generate the output to CSV file by getting data from the file 'INFILE.csv', a record header in it.

    I would like to know to go to the header record during playback using utl_file.get_line package.please suggest.

    examples of data 'INFILE.csv ':

    NUMBER: the header
    318000000000
    318000000121
    2005002999
    3187209699

    script:


    DECLARE
    fINFILE UTL_FILE. TYPE_DE_FICHIER;
    fOUTFILE1 UTL_FILE. TYPE_DE_FICHIER;

    vINFILE_PATH VARCHAR2 (200): = NULL;
    vOUTFILE_PATH VARCHAR2 (200): = NULL;

    vINFILE_NAME VARCHAR2 (100): = "INFILE.csv";
    vOUTFILE_NAME1 VARCHAR2 (100): = "OUTFILE.csv";

    vGLOBAL_NAME VARCHAR2 (100): = NULL;
    vINPUT_REC VARCHAR2 (1000): = NULL;

    nNEW_NUMBER NUMBER (16): = NULL;
    nMERCH_ID NUMBER (8): = NULL;

    BEGIN
    vINFILE_PATH: = ' / home/RPT / ";
    vOUTFILE_PATH: = ' / home/RPT / ";

    BEGIN

    fOUTFILE1: = UTL_FILE.fopen (vOUTFILE_PATH, vOUTFILE_NAME1, 'W');
    EXCEPTION
    WHILE OTHERS THEN
    UTL_FILE. FCLOSE_ALL;
    RETURN;
    END;

    BEGIN
    fINFILE: = UTL_FILE. FOPEN (vINFILE_PATH, vINFILE_NAME, "R");
    EXCEPTION
    WHILE OTHERS THEN
    UTL_FILE. FCLOSE_ALL;
    RETURN;
    END;

    BEGIN
    LOOP

    nNEW_NUMBER: = NULL;

    UTL_FILE. GET_LINE (fINFILE, vINPUT_REC);

    BEGIN
    SELECT MERCH_ID
    IN nMERCH_ID
    PROD. MERCH
    WHERE NEW_NUMBER = LPAD (nNEW_NUMBER, 12, 0);

    -Creation of the output file for
    BEGIN
    UTL_FILE. Put_line (fOUTFILE1,
    LPAD (nMERCH_ID, 8, 0)
    );

    EXCEPTION
    WHILE OTHERS THEN
    dbms_output.put_line (' error when writing to the outfile1: ' |) SUBSTR (SQLERRM, 1, 250));
    END;

    EXCEPTION
    WHILE OTHERS THEN
    dbms_output.put_line (' error finding MID for merchant - ' | nNEW_NUMBER |) » '|| SUBSTR (SQLERRM, 1, 250));

    END;
    END LOOP;

    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    dbms_output.put_line ('finished - End of file');
    WHILE OTHERS THEN
    dbms_output.put_line (' error reading I / p file ');
    END;

    IF UTL_FILE.IS_OPEN (fOUTFILE1) THEN
    UTL_FILE. FCLOSE (fOUTFILE1);
    END IF;

    IF UTL_FILE.IS_OPEN (fINFILE) THEN
    UTL_FILE. FCLOSE (fINFILE);
    END IF;

    END;
    /

    Hello

    978485 wrote:

    Thanks Frank.

    where should I call the get_line., in my script, I started after the loop as above

    Immediately after open from finifile is a good place:

    ...

    fINFILE: = UTL_FILE. FOPEN (vINFILE_PATH, vINFILE_NAME, 'R');

    -The first line always is a header, to be ignored

    UTL_FILE. GET_LINE (fINFILE, vINPUT_REC);

    ...

    Or you could do later as immediately before the LOOP.

  • I want to move virtual machines to a folder called Linux name, but we have several file of the same name in our Datacenter, please give me PowerCLI Script to move exactly

    I want to move virtual machines to a folder called Linux name, but we have several file of the same name in our Datacenter, please give me PowerCLI Script to move exactly.

    I tried to use for the function FolderByPath below, but don't know how to use it and have worked. Please help me in this.

    Function Get-FolderByPath {}

    < #.

    . Records of recovery SYNOPSIS by giving a path

    . DESCRIPTION the function will retrieve a record by its

    path. The path can contain any type of leave (folder or)

    Data Center).

    . Author NOTES: Luc relaxing

    . Path PARAMETER

    The path to the folder.

    This is a required parameter.

    . Path PARAMETER

    The path to the folder.

    This is a required parameter.

    . PARAMETER separator

    The character used to separate the leaves in the

    path. The default value is ' / '.

    . EXAMPLE OF

    PS > Get-FolderByPath-path ' Datacenter/Folder1/Folder2 ".

    . EXAMPLE OF

    PS > Get-FolderByPath-path "Folder1 > Folder2"-separator ' > '

    # >

    (param

    [CmdletBinding()]

    [parameter (Mandatory = $true)]

    [System.String []] ${Path}.

    [tank] ${delimiter} = ' / '.

    )

    {in process

    If (((Get-PowerCLIConfiguration).)) DefaultVIServerMode - eq "Multiple") {}

    $vcs = $defaultVIServers

    }

    else {}

    $vcs = $defaultVIServers [0]

    }

    {foreach ($vc to $vcs)

    {foreach ($strPath in $Path)

    $root = get-file-name of the server data $vc centers

    $strPath.Split ($Separator) | %{

    $root = get-inventory-name $_-location $root - server $vc - NoRecursion

    If ((Get-stocks-localisation $root-NoRecursion |)) Select--ExpandProperty name)-contains "vm") {}

    $root = get-inventory-name "vm" - location $root - server $vc - NoRecursion

    }

    }

    $root | where {$_-is [VMware.VimAutomation.ViCore.Impl.V1.Inventory.FolderImpl]}|% {}}

    Get-file-name $_. Name - location $root. Parent - Server $vc

    }

    }

    }

    }

    }

    You can try to retrieve the object file by steps as well.

    Something like this for example

    $folder = get-data center-name 'LTX01-G8 | Get-file-name "LTX-servers | Get-file-name "LTX servers 0000 - 0299. Get-file-name Linux

    I guess the first qualification in your path was the data center.

  • Small batch. Review, edit and save to the desktop file.

    I have 50 or more photos of the weekend. I have already created an Album called 'Birthday 2015' and all images imported into this Album.  I want to review them and keep the top 25 or more.  Then cultures, change and save these 25 only to a folder on my computer desk. I want to move this folder over to a SD card or USB key to send to a family member. They want just the photo files, not a slide show or anything like that.  I want to keep the originals of all 50, as well as the finite set of 25.   This will be my first time using Photoshop elements 13 for what that this or another can touch a single image to print at home.   What is the process for this?  It is an 'event', a 'project' I drop the unwanted, those of the Album (how I do that) or simply to 'save' the finished a separate desktop file I'll?  How do I "save under" the picture over to the desktop file? 

    Thank you

    Mike

    michaelg7242004 wrote:

    I have 50 or more photos of the weekend. I have already created an Album called 'Birthday 2015' and all images imported into this Album.  I want to revisit and keep the top 25 or more.  Then cultures, change and save these 25 only to a folder on my computer desk. I want to move this folder over to a SD card or USB key to send to a family member. They want just the photo files, not a slide show or anything like that.  I want to keep the originals of all 50, as well as the finite set of 25.   This will be my first time using Photoshop elements 13 for what that this or another can touch a single image to print at home.   What is the process for this?  It is an 'event', a 'project' I drop the unwanted album (how I do that) or just 'save' finishes to a file separate from the Office I'll?  How do I "save under" the picture over to the desktop file?

    Thank you

    Mike

    Mike,

    The two following tips should help you:

    -1- creating a new album of an existing

    An album in your current catalog is a list of files, just like a playlist for audio files. If you want a selection (a subset) of these files, you simply create an empty album. Select the view original album, select the required pictures (easy if you have assigned a given star) by the shortcut Ctrl A, and then drag and drop in the new album of emptiness.

    -2-hourly using 'Export' of the Organizer.

    What you want to do, who prepares the files to a new location or media selected, is called "exporter" in the elements or Lightroom.

    When you're in the Organizer, select the thumbnails (highlighted), you must use the menu file/export or the shortcut Ctrl E. The dialogue then you box will allow to choose not only the target medium or the folder where you want to copy your files. More important still, it allows you to choose the file format and size of the exported files and it can rename them in order to preserve the custom in the album sort order.

    Which is a bit more complex is to work with the original and edited versions if you have version ' sets ' and albums at the same time. If you do not use version sets, no problem. You export originals and files published in two different lots with different subfolders.

    If you use sets of version, which means that the edited versions are attached to the original and you have chosen the version to display at the top of the version set in the navigation area. It is only as the displayed version which is exported. People are generally perplexed when they create sous-albums as described above. Whether you have your album ready for export with the edited versions. You want to export the original separately in a different folder. This would mean that you change the display order of versions to show the original as "top version" for each image. The information about the item "top version" are independent albums: If change you in one album, if the photos are also included in a different album, the 'top' of the version will also change.

    The simple solution if you want to export original and edited separately versions would be to export original first, then do the editing and export the edited versions shown in your albums.

    Once you have the version sets in your albums, you can't easily get to the originals. This would mean using the menu edition/version the value to be converted into individual elements and lose the link between the original and edited version.

    I should mention that the use of the albums is a way to use the Organizer to export your selected objects.

    If you are using categories and keywords, you can select (highlight) your files and export as explained above.

    You can also use the menu file/export to media removable (Ctrl + Shift + O) to copy to flash drive or SD card.

Maybe you are looking for

  • iSight works partially on macOS Sierra

    After installing Mac OS on my Mac Pro mid-2010 Sierra, my external iSight has stopped working (the microphone and video).  I have reset the controller of the system as suggested by another user to reset the controller management system (SCM) on your

  • Problem adding second e-mail in Thunderbird

    I have two emails, both from Gmail. I was able to add one successfully but when I try to add the other one can't. I get the message 'user name' or invalid password. I know that I entered both correctly, as I went to Gmail and connected with success h

  • Portege Z930-118 does not start after the BIOS update

    My PORTEGE Z930-118 failover and wont start after I upgrade in the middle of the upgrade I remove power, then press stop down after I see the power and wireless but the screen stays black? Any help please

  • After iPhoto deleting Library.migratedphotolibrary why not get all this disk space?

    I've migrated photos on my Mac (OS 10.11.2) months ago. I talked to AppleCare just before and I was told that I could remove the old Library.migratedphotolibrary iPhoto after confirmation of everything was in pictures and Photos Library.photoslibrary

  • May not be granted access to the photos on iPhone 5 s

    I have an iPhone with iOS 9.3.5 5s. I'm trying to use an external drive to iXpand of SanDisk to save pictures from the phone. I use the player of iXpand application. When I insert the drive and open the app, the app said: "unable to access photo libr