How to change the excel file name which already exists

Hi,
    I want to rename the already existing excel file, is there any way to do it in Lab View. Please help me in this regards.
Regards
Shiva Kumar Singh

Use the "move" tool with the current path and new path as inputs. It's in the File I/O...advanced palette.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How to change the excel file name which is in Application server...

    hi friends,
    my requirement is getting failed, when i'm trying to change the file name which is in Application server using the FM: SXPG_COMMAND_EXECUTE.
    when i execute above FM, i can see all my required details in SM69 like:
    COMMAND NAME: ZSPOOL_TEST1      
    OS: Windows NT
    TYPE: Customer 
    OS COMMAND: cmd rename Y:\OBRZ.PDF OBRZ38582.PDF
    once the above FM is executed, i'm getting SY-SUBRC = 2 (exception: COMMAND_NOT_FOUND).
    so, can any one guide me how to resolve this issue or is there any other way to rename the file which is in AS?
    thanks in advance...

    Hi ,
    First you can tranfer the AS server file to a new application server file.
    Then you delete the original file .
    To do that you can write code as follows --
    DATA : w_file(8) TYPE c VALUE 'FILE_NAM', " your present AS file name
           w_new(8) TYPE c VALUE 'NEW_FILE',
           fs_itab(255) TYPE c,
           t_itab LIKE TABLE OF fs_itab.
    OPEN DATASET w_file FOR OUTPUT IN BINARY MODE.
    DO.
      READ DATASET w_file INTO fs_itab. " Reading value from the AS file to field string
      IF sy-subrc NE 0.
        EXIT.
      ELSE.
        APPEND fs_itab TO t_itab. " Populating internal table form the file value
      ENDIF.
    ENDDO.
    OPEN DATASET w_new FOR INPUT IN BINARY MODE. " creating a new file if that does not exist
    LOOP AT t_itab INTO fs_itab.
      TRANSFER fs_itab TO  w_new. " Transfering to file
    ENDLOOP.
    CLOSE DATASET w_file..
    DELETE DATASET w_file. " Dleting the old file
    CLOSE DATASET w_new.  " Closing the final file
    Regards
    Pinaki

  • How to change the RPD file name without deploying on EM

    Is there a way to change the RPD file name so it doesn't have BI0002 or BI0003 on the end of it? I can delete my BI0002 file and point the NQSConfig.ini file to my new FileName.rpd but when the BI services restart the BI0002 file reappears in the repository directory and the NQSConfig file changes to reflect this. It's like the only way you can change this is in the Enterprise Manager, but that always adds the suffix to the file.
    Any suggestions?
    Here's what the docs say:
    When you upload a repository, it is copied to the local repository directory for each Oracle BI Server component, located at:
    ORACLE_INSTANCE\bifoundation\OracleBIServerComponent\coreapplication_obisn\repository
    If you have published the repository in shared mode, then the repository is also copied to the shared network location.
    After the repository is uploaded, it is given a version number suffix (for example, SampleApp_bi001.rpd). This version number is incremented each time that the repository is uploaded. To revert to a previous version, you must re-upload the specific version of the repository to use.
    Note that you can delete older versions from the repository directory or shared network directory to reclaim disk space.
    What does that mean? I have to use an old rpd file in order to get rid of the suffix?

    Hi,
    It can be changed, although I do not no exactly how. You have to take a look at the MBeans which are used to deploy a new repository. The suffixed is used to insure you do not overwrite an existing RPD
    Cheers,
    Daan Bakboord
    http://obibb.wordpress.com

  • How to Change the defalut file name of PDF out of report (Version 6i)

    Dear All
    I have a report which opens from forms(Version 6i); the output of the report is in PDF. The generated file name is the same name as the report. Is there any way to give parameter name of the report as the name of the PDF out put of the report?
    For example I have a parameter called PATIENT_ID and my value is 25613 now I need the PDF out put name also 25613.
    Thanks and regards
    Sijo

    Use DESNAME to specify the output filename:
    set_report_object_property(repid, REPORT_DESNAME, :patient_id);

  • How to capture the excel file name

    Hi friends,
    when i execute my program one excel sheet is getting generated.for this i have used a fm 'SAP_CONVERT_TO_XLS_FORMAT'.i want to capture that excel file name and i want to pass it to next function module as input.bcz i should not do any hard coding like passing the filename directly into the function module.
    anybody have any suggestion for this.

    Hi,
    Here is the piece of code ....
    I hope this will add some help to u...
    FORM convert_xls_itab.
      break devuser.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          i_field_seperator    = 'X'
          i_line_header        = 'X'
          i_tab_raw_data       = wa_tab
          i_filename           = p_file
        TABLES
          i_tab_converted_data = it_data
        EXCEPTIONS
          conversion_failed    = 1
          OTHERS               = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    FILENAME = P_FILE
    I_BEGIN_COL = P_BEGCOL
    I_BEGIN_ROW = P_BEGROW
    I_END_COL = P_ENDCOL
    I_END_ROW = P_ENDROW
    TABLES
    INTERN = IT_INTERN.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    **--- Perform to move the data into an internal data
    ENDFORM. " CONVERT_XLS_ITAB
    Thanks & Regards
    Ashu Singh

  • How do I change the Home file name back to Home?

    Help! - How do I change the Home file name back to Home? My supplier changed it to Demo. I've tried pressing return, control click and Get Info but none gives access to change the name. Any ideas?

    The Home folder isn't named "Home." It is named for the user account it represents.
    Who is your "supplier?" Sounds like they're not terribly bright.
    Can you provide some details on why they "changed" it. Is this a brand new Mac? Were you having information transferred from another computer?
    It sounds like you just need to create a new account and get rid of "Demo."
    While logged into the "Demo" account, go to System Preferences in the Apple Menu.
    Click on Users & Groups
    If the padlock is locked, click on it and enter your password.
    Click the + button at the bottom of the list of users. This will create a new account. Fill in the information you'd like to use for your account. The account name is what will be used for the "Home" folder.
    Once created, select it from the list and check the box to "Allow user to administer this computer."
    You can then log out of "Demo" and log in as your new user. If there is nothing in the Demo account that you want, you can delete it from the Users & Groups System Pref.

  • How do I change the .php file name for a page of my site?

    how do I change the .php file name for a page of my site? The only link to the page is the nav. button link for it in the global nav. The reason I need to change the file name is we want the breadcrumbing name to change and the breadcrumbing is linked to the file name.

    The reason I need to change the file name is we want the breadcrumbing name to change and the breadcrumbing is linked to the file name.
    I don't understand this reason. How would changing the file extension solve your breadcrumb issue? Why don't you explain the issue in more detail.

  • How to Edit the Title (file name) on forms 10g Screen.

    Hi ,
    How can one edit the Title ,and <(file name)> on forms 10g Screen ....
    I tried editing through the forms module preperty palette , but could n't change the Title, or file name on forms menu screen ...
    I guess , the entries are made through some other means...
    Please let me know on how to do this .
    Need a quicker reply ..
    Thanks in Advance
    Sanu

    using the below code too not getting me the new names entered by me ... still the old title names are comingWhat do you mean by new nemes? It will return you the actual file name which is saved in phycical location and form name will return you the module name which displays when you open forms in builder.
    Or you mean something else then its better to provide any example..like what is happening actually with you.
    -Ammad

  • How to specify the download file name??

    Hi guys~~~
    I have servlet which can generate a *.pdf file,I found if I didn't setContentType="application/pdf",I can download it!!But the download file name is my servlet file name.If I want to change the download file name,How do I do????
    thanx a lot!!!Best regard!

    Thanx for ur help...But I encounter a new charllenge now...
    I use a javascript(window.open("/myservlet")) to open the download file servlet.
    Everything is okay.But when I finish downloading the file which window I opened cant close itself automatically.
    I am really not understand the header parameter of the HTML header,could someone give me something about this??
    Thanx again!!!!

  • How to change the ipad's name in iTunes

    When i connect ipad to PC, the iTunes gives it the name as " "My PC Account" 's ipad" automatically.
    For the reason of facility management, I need to change the ipad's name which appear at iTunes.
    How to fix it?

    It doesn't work for me. In iTunes I renamed my iPad, then sync it with ipad. After disconnecting and then reconnecting the device, only old name appears in iTunes. It seems the change of name is volatile! Can anyone help? Thanks.

  • Easy Way To Change The Original File Name??

    I store all my music and videos on iTunes. I just got a AT&T Tilt and I have to use WMP to sync to it. I can't drag and drop iTunes playlists into my media card cause my Tilt uses Windows.
    My main problem with WMP is even though I edit the song/video name, it still syncs over the original file name. If I change the original file name for WMP then I have to rename it for iTunes cause when I go back to iTunes to play the song/video, it says the file is missing. It's a pain
    For example, in my iTunes music foler in My Music, I have a song file named Britney_Pieceofme.mp3. I edit the name of the song and artist to Britney Spears Piece Of Me but when I sync it to my phone, the original file name appears.
    Thanks!

    I think you may need to "look" into the song to see what information is contained in the mp3 tag. WMP automatically sees that information and will store the song at the name in the tag. To solve your problem, you will need an mp3 tag editor (google search) where you can change the tags on your songs, then put them on your Tilt. I think/hope this solves your problem.

  • If I rename a clip in PPro, is there a command to change the actual file name like in FCP7?

    In FCP7 I could rename a clip in FCP and then use a menu command to change the actual file name to match:
    Can I do this in PPro or Prelude?
    Thanks!
    MtD

    This option is only available in the Project Manager.
    FEATURE request

  • How to change the Dashboard's name?

    hi all,
    Any one can tell me how to change the Dashboard's name? Seems can only change the page name of Dashboard.
    thanks.
    Thanks all, i have finished the rename operaiton. but i don't know whether it will have any affects on the existing dashboard pages ?
    帖子经 854623编辑过

    Go to settings --> Administration --> Manage Presentation Catalog --> Go to your dashboard folder --> _portal --> Edit Name and Description                                                                                                                                                                                                                                                                                       

  • How to change the public display name?

    How to change the public display name since the last person left the job and I am not new person take it.

    Hello,
    The TechNet Wiki Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.
    Please note that this forum exists to discuss TechNet Wiki as a technology/application.
    As it's off-topic here, I am moving the question to the
    MSDN and TechNet Profile and Recognition System forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How do i change the HTML file names for existing index

    Hi,
    How do i change my existing HTML file names for indexes. The Html file name is disabled when we click on properties.
    Ex:   Index Keywork : Architecture
            Old HTML Page/URL =: Architecture.htm
    I want to change  Old HTML Page/URL =: Architecture.htm to architecture_new.htm
    Please find the screenshot attached.

    That's because you are looking at the Properties and that is not how you create index entries.
    Highlight the Index keyword ("Paste" in this example). It shows below what is already linked. If you delete that, the keyword will be displayed in bold to show no keyword is attached. You can add further keywords by dragging them from the Topic List.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

Maybe you are looking for