I need a script for my following query... Please help

I have files like
customername_photonumber_version
customername-photonumber-version
reliance_123456_002
reliance_123456_001
reliance-123456-001
reliance_123456_001.01
reliance_111111_002
reliance_111111_001
reliance-111111-001
reliance_111111_001.01
reliance_555555_002
reliance_555555_001
reliance-555555-001
reliance_555555_001.01
maruthi_555555_002
maruthi_555555_001
maruthi-555555-001
maruthi_555555_001.01
maruthi_232323_002
maruthi_232323_001
maruthi-232323-001
maruthi_232323_001.01
I want a script that creates a folder 555555 and copy all the contents irrespective of _001 or -001 _002 reliance etc to the same folder
that is
555555-> 
                maruthi_555555_002
                maruthi_555555_001
                maruthi-555555-001
                maruthi_555555_001.01
                reliance_555555_002
                reliance_555555_001
                reliance-555555-001
                reliance_555555_001.01
and so on for all photo numbers. kindly help.
Thanks in advance!!!!

Check these out.
http://www.google.com/search?client=safari&rls=en&q=macbook+13+inch+case&ie=UTF- 8&oe=UTF-8
http://www.google.com/search?client=safari&rls=en&q=macbook+13+inch+rubberized+c ase&ie=UTF-8&oe=UTF-8

Similar Messages

  • HT201210 i try to do several times... to recovery my ipad 2 wifi...but it gone off mode..what i must do.. i'm  university student ..i need my ipad for tomorrow lecture..please help me

    i try to do several times... to recovery my ipad 2 wifi...but it gone off mode..what i must do.. i'm  university student ..i need my ipad for tomorrow lecture..please help me

    What version of ios do you have?
    See Texas Mac Man's write up here.
    My iPad won't connect to my home wifi - even though it has previously worked fine.  It says it is unable to connect? - any ideas

  • I need the password for BronzeZebra-guest. Please help asap

    I need the password for BronzeZebra-guest. I don't know how you find this or get it but I need it now. Please reply to [email protected]

    If you have Cisco Connect open it up & look around & it should show the passwords for both main & guest. At least mine did when I could access it.
    Kathi

  • Creating a report for the following Query --Kindly help.

    Here when we use select options
    1) you have to use 4 different "Select Option" Statement to select this Below.
    1) Sales Organisation  -- VBAK -VKORG
    2) Distribution Channel -- VBAK - VTWEG
    3) Division -- VBAK -- SPART
    4) Created Date -- VBAK -- ERDAT.
    The following fields have to be displayed.
    1) Order no. -- VBAK - VBELN.
    2) Created date -- VBAK - ERDAT
    3) Sold To Party -- VBAK - KUNNR
    4) Shiped to party -- VBPA -- KUNNR.
    5) Item no -- VBAP -- POSNR
    6) Material no. -- VBAP -- MATNR
    7) Material Discription -- VBAP - ARKTX.
    By using the select options of Sales organisation, Distribution channnel and so on I am not able to get the out put of the order no , created date , sold to party , shipped to party (Which is in a different tableVBPA) and Item no Material No and material Discription which are in table VBAP.Here I am getting a run time error.
    Kindly help and inform how to code this .
    Also When we click the Order no in the list we have to get the screen VA03.
    Regard

    Hi John,
    Use the following Select statement for Query  :-
    Code A )
    SELECT vbak~vkorg
           vbak~vtweg
           vbak~spart
           vbak~erdat
           vbak~vbeln
           vbak~erdat
           vbak~kunnr
           vbpa~kunnr
           vbap~posnr
           vbap~matnr
           vbap~arktx
           into corresponding fields of table ITAB
           FROM ( vbak INNER JOIN vbap
    ON vbakvbeln = vbapvbeln
    INNER JOIN vbpa
    ON vbakvbeln = vbpavbeln
    WHERE vbak~vkorg IN s_vkorg
    AND vbak~vtweg IN s_vtweg
    and vbak~spart in s_spart
    AND vbak~erdat in s_erdat.
    And Use this part of the code to show the selected Sales order  :-
    code B)
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    CASE r_ucomm.
    WHEN '&IC1'.
    CASE rs_selfield-sel_tab_field.
    WHEN 'ITAB-VBELN'.
    CHECK NOT rs_selfield-value IS INITIAL.
    SET PARAMETER ID 'AUN' FIELD rs_selfield-value.
    CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
    ENDCASE.
    ENDCASE.
    ENDFORM.
    Award points if useful !
    Regards
    Hrishi

  • I need a number for customer service!  Please HELP.

    I bought  photoshop elements from best buy.  I put in the code to retreive serial number. Message to contact customer service,  I've been all over this website and can not find a number to contact them.  HELP.!!!!

    The iTunes Store does not have phone support. Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report your issue to the iTunes Store.
    Regards.

  • I need to denormalize data in sql query, please help!

    With the query
    select ref, start_time, end_time, person
    from appointments
    I get, eg:
    REF START_TIME END_TIME PERSON
    1234 10:00 11:00 USER1
    1234 10:00 11:00 USER2
    The users want to see it like this:
    REF START_TIME END_TIME PERSON
    1234 10:00 11:00 USER1, USER2
    How do I do this just in sql?
    cheers
    Tracey.

    Apologies, my mistake, I forgot to connect by the ref as well...
    (Note: you can ignore the CAST to VARCHAR2(40) as that just helped me get the formatted output.)
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select 1234 as ref, '10:00' as start_time, '11:00' as end_time, 'USER1' as person from dual union all
      2             select 1234, '10:00', '11:00', 'USER2' from dual union all
      3             select 345, '11:00', '12:00', 'USER3' from dual)
      4  -- END OF TEST DATA
      5  select ref, start_time, end_time, CAST(MAX(LTRIM(SYS_CONNECT_BY_PATH(person,', '),', ')) AS VARCHAR2(40)) as users
      6  from (select ref, start_time, end_time, person
      7              ,row_number() over (partition by ref, start_time, end_time order by person) rn
      8        from t) t
      9  CONNECT BY rn = PRIOR rn+1 AND ref = PRIOR ref
    10  START WITH rn = 1
    11* GROUP BY ref, start_time, end_time
    SQL> /
           REF START END_T USERS
          1234 10:00 11:00 USER1, USER2
           345 11:00 12:00 USER3
    SQL>

  • Please help me with portfolio.I am new in graphic design.I need portfolio done immediately soon as possible otherwise my design advisor will not let me register for fall. I need 15 or 10 artworks to show.Please help me

    Please help me with portfolio.I am new in graphic design.I need portfolio done immediately soon as possible otherwise my design advisor will not let me register for fall. I need 15 or 10 artworks to show.Please help me.

    Farooq,
    If you look at the first one, you should be able to align quite easily as follows, View>Smart Guides being your friends:
    1a) ClickDrag the top flower with the Selection Tool (black arrow) so it is clear of the pointy part;
    1b) Click an empty spot on the Artboard to deselect, then ClickDrag the top flower by its bottom Anchor Point (Smart Guides say anchor when you are close enough to grab it) down to snap to the top Anchor Point on the pointy part (Smart Guides say anchor when you are close enough);
    1c) Do the same for the boroom flower.
    If you look at the third one, to get the triangles and the hexagon sized and aligned precisely, you may, creating them with stroke and no fill:
    3a) Click with the Polygon Tool and select a suitable/chosen Radius and 6 Sides, then Object>Transform>Rotate by 30 degrees (or use the Rotate option in the Transform palette), you may Object>Transform>Reset Bounding Box to have it look nicer;
    3b) Click with the Polygon Tool and select the same Radius and 3 sides, then deselect and ClickDrag the top Anchor Point to snap to the top Anchor Point of the hexagon;
    3c) Object>Transform>Rotate by 180 degrees clicking Copy, deselect, and ClickDrag the bottom Anchor Point to snap to the bottomAnchor Point of the hexagon;
    3d) Select all and Ctrl/Cmd+G to Group (for alignment purposes, you will know why if you try without grouping, see below).
    To create full symmetry, you may use circles rather than almost circular ellipses; you may:
    3d) Click with the Ellipse Tool and select a suitable/chosen Width = height;
    3e) Object>Transform>Move a copy vertically by the Height (= Width) twice (or you may Ctrl/Cmd+D to repeat), to get three circles over one another with no gaps;
    3f) Select the topmost and bottommost ones and Object>Transform>Rotate a copy by 120 degrees twice, to have all the seven circles precisley touching one another; you may Group them, but it is not necessary.
    To have everything aligned, just:
    3g) Select everything and click Vertical Align Center and Horizontal Align Center in the Align palette; you may click the pointy group or the circles ojnce more before aligning if you want to keep it in place (that will make it the key object that the other set is aligned to).
    These ways may also help you further.
    Edit: About half an hour after midnight here. High time to attend to other duties, before the sun is up.

  • I want to know that if i want to download facebook on my iphone 4 or any other apps then it ask me put my card details for payment. why is that. if they are free then why do i need to give my card details?please help me anyone.

    I want to know that if i want to download facebook on my iphone 4 or any other apps then it ask me put my card details for payment. why is that. if they are free then why do i need to give my card details?please help me anyone.

    Just select no credit card as outlined here:
    http://support.apple.com/kb/ht2534

  • My ipad mini does not restart when i press and hold the home and power buttons for a minute or more. what do i do? i really need to access some information on it. please help.

    my ipad mini does not restart when i press and hold the home and power buttons for a minute or more. what do i do? i really need to access some information on it. please help.

    You need to connect to iTunes and restore.
    iOS: Not responding or does not turn on
    You may need to put the device into recovery mode, this is covered in the link on this page.
    Did you back up the device?

  • "Unable to Connect" using Firefox and Windows 7. Have tried all the suggestions on this website to no avail. I need firefox for my work! Please help!

    "Unable to Connect" using Firefox and Windows 7. Have tried all the suggestions on this website to no avail. I need firefox for my work! Please help!
    == This happened ==
    Every time Firefox opened
    == Since I downloaded Firefox

    same here my AV is ESET, i already unblock it but no use can't connect to the internet..

  • I have a form that has multiple fields but has 5 sections. I have used mail merge to insert information but I can't get Excel to recognize that I need different names and addresses for each section. Please help.

    I have a form that has multiple fields but has 5 sections. I have used mail merge to insert information but I can't get Excel to recognize that I need different names and addresses for each section. Please help.

    Thanks for your response. I do believe I have the information needed for each form on a separate line in Excel. There is a first name, middle name, last name, city, and zip column. And field is entered on a different line for all the information. I'm really stuck.

  • Very frustrated.  downloaded reader but when I try to download pop up box says I have to accept end user license agreement but there is no place to accept it at.  I need to download pdf asap for my business.  Please help.

    very frustrated.  downloaded reader but when I try to download pop up box says I have to accept end user license agreement but there is no place to accept it at.  I need to download pdf asap for my business.  Please help.

    Hi Pat.  I've done that, it opens up the install window again.  If I click on install it says it's already installed.  Nothing comes up that allows me to accept the end user agreement.  I just retried and the same thing happens.
    I appreciate your help. 
    Shelley

  • Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    you can link
    OOH.invoice_to_org_id=CUST.cust_account_id   -- invoice customer
    OOH.sold_to_org_id=CUST.cust_account_id   -- sold to customer
    OOH.ship_to_org_id=CUST.cust_account_id   -- ship to customer

  • TS1717 I have uninstalled and restalled the latest itunes version and it still says that I need to reinstall it. Can someone please help me

    Recently I installed iTunes on my computer so that I could put music on my new iPad and it was fine, the next day when I went to put some more on it it asked me to download the newest version of iTunes and I did but since then I have been having trouble getting access to iTunes. I have uninstalled and reinstalled the latest itunes version and it still says that I need to reinstall it. Can someone please help me

    Hi l.johnson66,
    If you are having issues with iTunes after an attempted update, you may find the following article helpful:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Regards,
    - Brenden

  • Command or Canvas Events for Recording ?? Please Help..

    Hi I am Abhijith I am a total newbie to the j2me world, And I am learning it now,
    My project topic is "Bluetooth Walkie Talkie " , And I am trying my best and putting
    all my efforts to code incrementally by learning , Before I could implement bluetooth,
    I thought let me complete the recording The audio and playing part first,
    The recording and playing of audio is working fine , But i would like to do it a real manner as Real Walkie talkie does, I want to record audio ONLY when the Key is being
    pressed , and when its released it should exit the player hence saving the recorded file,
    (Actually i dont want to save it in future,i would be sending the bytearray though the bluetooth , but for now , I want the Current module to be ready)
    I tried my best searching online to implement my requirement but the couldnot find
    such events I found Canva's KEYPRESS, KEYRELEASE , etc events but they dint not
    serve my purpose, Let me clearly tell where I am stuck , After the midlet starts(by launching it) then i would like to press a key( keypressed say No 5) for certain
    amount of time and the audio should be recorded only for the keypressed duration ,
    after I release , it should stop recording and save as a wav file .
    Whats happening is When i keep the key pressed , The midlet asks whether to allow
    the recording , for this purpose when I release key the control is going out, and
    i am not able to achieve the needed , I am posting the code here, Please Help me.
    I am not asking for the complete spoon feeding or ready made code, But as a beginner
    I need help from you all to learn and implement it.(at least it should satisfy me,i would feel i have learnt something then)
    Here below is my code ( i AM using WTK 2.5 )
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.*;
    import java.io.*;
    import javax.microedition.media.control.*;
    import java.util.*;
    import javax.microedition.io.*;
    import javax.microedition.io.file.*;
    public class Key extends MIDlet{
      private Display  display;
      private KeyCodeCanvas canvas;
      public Key(){
        display = Display.getDisplay(this);
        canvas  = new KeyCodeCanvas(this);
      protected void startApp(){
        display.setCurrent(canvas);
      protected void pauseApp(){}
      protected void destroyApp( boolean unconditional ){
        notifyDestroyed();
    class KeyCodeCanvas extends Canvas implements CommandListener{
      private Command exit;
         public StringItem message ;
         private Player player;
         private byte[] recordedAudioArray = null;
      private String keyValue = null;
      private Key midlet;
         Thread t = null;
         private String eventType = null;
      public KeyCodeCanvas(Key midlet){
        this.midlet = midlet;
        exit = new Command("Exit", Command.EXIT, 1);
        addCommand(exit);
        setCommandListener(this);
      protected void paint(Graphics g){
          g.setColor(255, 0, 0);
          g.fillRect(0, 0, getWidth(), getHeight());
        if (keyValue != null){
          g.setColor(0, 0, 255);
           g.drawString(keyValue + eventType+message, getWidth() / 2, getHeight() / 2,
         Graphics.TOP | Graphics.HCENTER);
      public void commandAction(Command c, Displayable d){
        String label = c.getLabel();
        if(label.equals("Exit"))
          midlet.destroyApp(true);
      protected void keyPressed(int keyCode){
         eventType = "pressed";
        keyValue = getKeyName(keyCode);
        repaint();
      public void keyReleased(int keyCode)
           try
                eventType = "released";
                keyValue = getKeyName(keyCode);
                repaint();
           catch (Exception e)
                System.out.print(e);
      public void keyRepeated(int keyCode)
           eventType = "repeated";
           keyValue = getKeyName(keyCode);
           try
                Thread t1 = new Thread()
                     public void run()
                          try
                               player = Manager.createPlayer("capture://audio?encoding=pcm");
                               player.realize();
                               RecordControl rc = (RecordControl)player.getControl("RecordControl");
                               ByteArrayOutputStream output = new ByteArrayOutputStream();
                               rc.setRecordStream(output);
                               rc.startRecord();
                               player.start();
                               eventType = "Recording";
                               message.setText("Recording...");
                               Thread.sleep(5000);
                               message.setText("Recording Done!");
                               rc.commit();
                               recordedAudioArray = output.toByteArray();
                               player.close();
                          catch (Exception e)
                }; t1.start();
           catch (Exception e)
           repaint();
         //Runnable r1 = new Runnable()
         //    public void run()
         //        try
         //            System.out.print(" here 1");
         //            message.setText(" here 1 ");
         //            player = Manager.createPlayer("capture://audio?encoding=pcm");
         //            player.realize();
         //            RecordControl rc = (RecordControl)player.getControl("RecordControl");
         //            ByteArrayOutputStream output = new ByteArrayOutputStream();
         //            rc.setRecordStream(output);
         //            rc.startRecord();
         //            player.start();
         //            eventType = "Recording";
         //            message.setText("Recording...");
         //            Thread.sleep(5000);
         //            message.setText("Recording Done!");
         //            rc.commit();
         //            recordedAudioArray = output.toByteArray();
         //            player.close();
         //        catch (Exception e)
    }I am really sorry at the end I messed with the code and its altered a Lot, But hope the
    logic Will is clear which is my requirement . I know the code for recording and
    playing is not complete as said, i Messed around a working code and tried adding Canavs
    for keyrepeat method,tried putting a thread around , AT last totally messed,
    I tried working on this for two days but couldn't be successfull , Please Help me!!
    The control goes out when midlet asks whether to allow recording ,
    I thank you anticipation ...
    -Abhijith Rao

    Midlet asking whether to allow the recording are typical permissions prompts specified by MIDP security policy. You need to sign the MIDlet and give it proper permissions.
    Problems like this were discussed in an older thread at WTK forum: *[MIDlet keeps asking for permission.|http://forums.sun.com/thread.jspa?threadID=5347313]* According to one of the posters in the thread, +"...I got it to work on the emulator by setting the permission to 'manufacturer'. It runs smoothly without annoying questions..."+
    If you're interested, check documentation and tutorials on MIDP security policy for more details.
    For events to record audio only when the key is being pressed, consider GameCanvas API, method getKeyStates.
    I am not certain though if doing it this way is a good idea. I doubt that phone users have same habits as those of walkie-talkies; for them it might be indeed more comfortable to use single simple key presses to start and finish recording.

Maybe you are looking for

  • How do I access old folders from a different user on Time Machine

    Hi I migrated my old macbook to my new macbook pro with all the files and backed up to time machine. I then restored my macbook pro using erase and install and started from scratch installing most apps from scratch and restoring some documents and ap

  • HT4972 Itunes says my ipod cant be updated past 4.2.1?

    I have Recently just found my lost ipod and restored everything on it. I then tried to update it to the newest software but itunes says there is no new software for the ipod past 4.2.1?

  • What Help Viewer Component Enables Index tab?

    A customer of ours has a problem with any .chm help file not displaying their index contents properly (showing up as blank). In our app, we have a Help | Help Index menu item that opens up our .chm's index tab. This ends up crashing the entire applic

  • Business transaction Event for FB50

    Hi all, what is the business transaction event for FB50. Thanks all, Helps will be appreciated. for FB50.

  • Can information be stolen from a phone that doesn't work?

    My iphone 5 has water damage. I let it sit for a few days in rice and turned it on. It came back on for awhile, but then cut off and wouldn't restart. It looks like it's worth quite a bit on ebay, but if I sell my phone which will NOT turn on at all