Access to operating system files

I wonder if anyone could help me. I am looking for a way to access and manipulate operating system files. I would like to be able to rename, and delete o/s files. Also, is there any way to be able to execute operating system commands through java by passing the commands as a string parameter?
Any help would be appreciated.
Thanks

I would like to be able to rename, and delete o/s files
Why do you want to do this??What is your program suppose to do, is this all your program suppose to do? if so it dont sound like a very nice program and also what type of code you have so far for it

Similar Messages

  • "Operating system file operation on file IFile failed" error.

    Hi there,
    Does someone got a clue about the error "Operating system file operation on file IFile failed" occurring from time to time when scheduling Webi and Deski reports?
    This occurs on a cluster environment with 2 servers (BOXI R2 SP2).
    Regards,
    Jeff

    Hi Jeff,
    -This error is usually associated with the system not being able to access the FRS when
       BOE is trying to read the report.
    -Also, could you please check that your document names should not have dot (.)
    -It's also possible this could be permissions related could you please monitor the
       system for any 'access denied' results and see if this is related to permissions.
    Regards,
    Sarbhjeet Kaur

  • Operating system file operation on file c9456ea79110a0.rpt failed.

    I have a report that failed this morning with the following error message: Operating system file operation on file c9456ea79110a0.rpt failed.
    I don't understand what to do about getting this resolved, I've never seen this error message before. 
    Thanks

    By the way I tried to run a completely different report and I got the same error message.
    I also rebooted the server and still get the same error.  I'm still trying to troubleshoot this problem, so if anyone has any ideas about what to try next I'm open to anything.

  • What is recommended size of System drive to keep operating system files , paging files and Memory Dump of hyper-v host.

    Hi ,
    I want to setup hyper-v host with 128 GB RAM  , Windows 2012 R2
    What is recommended size of System drive  to keep operating system files  , paging files  and Memory Dump?
    I tested to using 150 GB  , but when the server is crashed, there is no free space to keep memory dump file.
    Ramy

    Hi Ramy,
    For Server 2012R2 the absolute minimum system drive is 32Gb but this assume you have limited RAM or have your Page file located on another drive. It used to be best practice to setup a small page file but MS PFE now suggest leaving windows to manage
    the page file size.
    Obviously this is not always possible depending on the amount of RAM in the system, but base the system drive around this or offload the Page file to perhaps another drive. On top of this you also need space for the memory dump to be written, potentially
    again up to the size of the RAM. Assuming you fire the machine back up after a crash, you need space for the OS, the Page File plus space for the associated dump file.
    There is a nice little article here that maybe of assistance:  http://social.technet.microsoft.com/wiki/contents/articles/13383.best-practices-for-page-file-and-minimum-drive-size-for-os-partition-on-windows-servers.aspx
    Kind Regards
    Michael Coutanche
    Blog:   
    Twitter:   LinkedIn:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Officejet 4635 "operating system files missing"

    I've installed the driver software for the officejet 4635 for windows 8 64 bit, but in setting the printer up it gives me the following error message:
    "Operating system files missing
    The following operating system files are missing and are required to install your printer. Please repair the files using your operating system CD and click Retry to continue installation:
    C:\Windows\inf\ntprint.inf"
    I've tried reinstalling the software. The computer seems to recognize the device as a fax, but not as a scanner or printer. Anyone wanna help me out? 

    Hi @pgreene88 ,
    I see that you are getting a operating system error, during the installation of the printer. I can help you with this.
    System File Checker is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files. Use the System File Checker tool to repair missing or corrupted system files.
    If you get the same results, please consult your computer manufacturer for further assistance.
    Have a wonderful day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • HT4999 I have a new phone and a new computer.  Where can I find the downloads for the latest operating system files.  thanks

    I have a new I phone and a new computer.  I don't know where to get the download files for the lates operating system.

    To update iOS on an iPhone not running iOS 5 or later, connect the iPhone to iTunes and under the Summary tab for the iPhone sync preferences with iTunes, select Update. If there is an update avaiable, you should be prompted automatically.
    If the iPhone is running iOS 5 or later, the same applies along with another option which can be done direct with the iPhone.
    Would you like a link to the iPhone user guide where this is covered? Apple also includes a Safari bookmark with Safari on an iOS device for easy access to the user guide on the device.

  • How Forms can execute operating system files

    How can we create a button which when pressed can execute an exe file from the operating system....
    Please help me soon

    That's very simple.
    Check the host built-in.
    You may have something like the following:
    PROCEDURE run_rep (x_file in varchar2) IS
    -- runs a report not using run_product
    -- thus not opening reports background engine
    cmdstr varchar2(200);
    the_username varchar2(20);
    the_password varchar2(20);
    the_connect varchar2(20);
    pl_id paramlist;
    begin
    the_username := Get_Application_Property(USERNAME);
    the_password := Get_Application_Property(PASSWORD);
    the_connect := Get_Application_Property(CONNECT_STRING);
    cmdstr:='R30RUN32.EXE module='| |
    replace(x_file, '.rep', '')| |'.rep userid='| |
    the_username| |'/'| |the_password| |'@'| |the_connect| |' usesdi=yes';
    host (cmdstr);
    END;
    This is something that really works.
    In like manner you may run any OS command.
    If you wish the command not to display anything on screen, just do:
    host(cmdstr, no_screen);
    RTM first.
    Best of luck,
    BD

  • Im practically a novice to Mac Operating systems but just bought a MacBook pro, installing windows through boot camp on the system I cannot access apple operating systems what do I do

    i tried to install windows 7 through the Boot Camp provision  on my MacBook Pro which was successful but cant have access to Apple operating system its booting from windows only

    Thanks very much knucklesmac, Im from Ghana I first bought my Ipad 2 in Calgary 27 Sept 211, Ive since loved apple products but Im not a computer geek, but would certainly love to be one Im ok with windows though.
    Now the partition I craeted through windows was too small, not only that the widow 7 cd refused to come out.whats the next move, i wish to be initiiated into the apple cult the machines are sleek and beautiful

  • Dsc: disable access to operative system to certain users

    Hello,
    i need to disable access to certain users of my apliccation to the operative system,
    so they can't access to the desktop.
    Thanks for your help.
    BG.

    If you want to disable special windows keyboard keys while your VI is running, you can do that from Toos>>DSC Module>>Options. Click on Advanced tab, Security Preferences, Advances and enter the security level.
    Now you need to set those users that you want to block a security level lower then the number you entered at the tools option.

  • Java class that accesses the operating systems shell?

    i have been told by my boss to find a class that will allow him to send and recieve information to the operating systems shell, as in dos, if i do not find the solution i am to be fired, please help me....im jp...but for real help me out

    i have been told by my boss to find a class that will
    allow him to send and recieve information to the
    operating systems shell, as in dos, if i do not find
    the solution i am to be fired, please help me....im
    jp...but for real help me outIt doesn't seem that you have put yourself in a very good situation if you are about to be fired.
    At any rate I think you want to use the Process class. Look at the API documentations for java.lang.Runtime and java.lang.Process. Using Process you can launch other programs (like system ones that run in the console) and you can read and write to the process using the input and ooutput streams of the process.
    If you have more questions pleas be sure to post your formatted code so that we can be of more assistance.
    Good luck to you and have a happy day.

  • I5/OS - Operating system file details

    I have to set the file systems of i5/OS and DB2 for SAP installation. I expect your vaulable guidance to set up file system for i5/OS( OS file system) like what we do for linux & windows (os,translog & datafile)

    Hi,
    have gone through some documents of i5/OS .In that they mentioned Journal receiver files should be on a separate ASP (ASP2) and data ,exe & etc on ASP1 (system ASP)
    yes that's right in case of production server.In the case of a loss of data in the ASP of the database libraries, this ensures that you can recover the data using the journal receivers in the separate ASP
    in you case you used three ASP's one for OS, one for journal, and other for DATA.
    also read  Note 654801 - iSeries: ASP configuration of the database for ABAP and Java so you get some idea.
    and also read the relevant installation document.
    you can also go with two ASP for production system.
    following part is form IBM red book
    The availability of the journal receivers is improved when stored into a separate ASP. It is
    more likely to lose two disks in a large RAID-5 array for the application data rather than in a
    small separate ASP for the journal receiver. In a mirrored disk implementation, both related
    disks must fail in order for a commit control function to be lost.
    The use of a separate ASP is a relatively expensive feature. Disk space must be separated
    into parts. The advantage of the evenly distributed data over all disks is lost. When you divide
    the disks for the application data and journaling, consider a separate ASP for the journal
    receiver and also the following factors:
      The size of the disk drives
      The number of disks and number of disk arms for performance reasons
      The type of data protection required (RAID-1, RAID-5, RAID-6)
      The location to place the disks (system unit, expansion unit, external disks)
      The type of controller
    The primary reason to implement journal receivers in a separate ASP is to help guarantee the
    availability of the journal receiver. Other recommendations are:
      There is no need to set up a separate ASP2 for the journal receiver if you have a high
    availability (HA) solution for your production database.
      Only one separate ASP2 is required for all journal receivers of the different databases if
    you have multiple production SAP systems on one machine or one LPAR setup.
    It is not advisable to install one separate ASP for each production SAP system. Therefore,
    you do not have ASP2, ASP3, and so on, on one server or in one logical partition.
    For customizing, test, and quality assurance, and other non-productive SAP systems, you
    do not need a separate ASP for the journal receiver. Implement all journal receivers of all
    non-productive SAP systems on one machine or logical partition in the system ASP.
    regards,
    kaushal
    Edited by: kaushal malavia on Mar 17, 2008 4:56 PM

  • Accessing operating system from pl/sql

    Hi, sorry for the simple question:
    can you access the operating system from pl/sql to do simple
    things like running shell scripts or copying files ?
    is there a pl/sql package to do that ?
    Thanks

    no, there isn't, but you can communicate with running shell scripts using the DBMS_PIPE package.
    Go to http://asktom.oracle.com and search for the subject.

  • Accessing system files on linux

    how do i get permission to access system files on linux?please help!

    i want to access a linux system file from my code, but this is what i get:
    java.io.FileNotFoundException: /etc/fstab (Permission denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at java.io.FileWriter.<init>(FileWriter.java:73)
    at NewJFrame.write(NewJFrame.java:86)
    at NewJFrame.<init>(NewJFrame.java:22)
    at NewJFrame$1.run(NewJFrame.java:65)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    how do i get the permission???

  • Operating system Cammand such as UNIX command using PL/SQL

    Hi All,
    I am using forms 4.5 using oracle financials 10.7 and I want to execute an operating system file such as move on server side. I am able to do it on client side using host command but cannot figure out how I can use it on server side. I am using following version of oracle:
    Oracle8i Enterprise Edition Release 8.1.7.3.0 - 64bit Production
    PL/SQL Release 8.1.7.3.0 - Production
    CORE 8.1.7.0.0 Production
    TNS for HPUX: Version 8.1.7.3.0 - Production
    NLSRTL Version 3.4.1.0.0 - Production
    Thanks
    Aqil

    If I dont have java support is there no way to solove this problem?Steven Feuerstein provides some simple example here
    http://apex.oracle.com/pls/otn/f?p=2853:4:12114297745467903505::NO::P4_QA_ID:3202

  • Query on data block and Operating system block

    Hi ,
    Does data base requests data in term's of Data blocks or operating system block's . If data block's , how an data block get accessed the operating system block . what are the advantages over separating the data blocks from the operating system block's . can any one please explain the what happens once the data base requests the data ?
    Thank You

    sybrand_b wrote:
    This place is called 'Oracle Forum' It does not offer the Oracle University curriculum for free, nor does it offer free abstracts of the Oracle Concepts Manual.
    Kindly read the Concepts Manual of your unmentioned version yourself.
    Thank you.
    Sybrand Bakker
    Senior Oracle DBADear Sybrand
    As you said, this place is called Forum. If you know answer, then answer the question. If you know the documentation, then refer to documentation. If you don't know the answer, then don't answer in such rough manner! Just stop. Just don't type anything. Just be polity

Maybe you are looking for