Deleteing quota entry from MS Windows

Hi everyone,
I need help on deleting an already existing quota entry in MS Windows XP. I used java to run the commands available in FSUTIL QUOTA in CMD and I was able to create and modify quota...
The problem is that I cannot delete an already existing quota entry using java... I used a vbscript to do that from MS Windows website my advisor insisted that I should use java directly to do so. I've searched every where, but no results... Can any body help pleeeeeeeeeeease!?

>
The problem is that I cannot delete an already
existing quota entry using java... I used a vbscript
to do that from MS Windows website my advisor
insisted that I should use java directly to do so.One of the following is true.
1. Your advisor did not understand the question (or what you are doing.)
2. Your advisor wants you to use JNI.
3. Your advisor doesn't know what they are talking about.
The functionality you are using is specific to windows. That means there is no standard java API for it. So you either use Runtime.exec() or you write JNI code.
Given that this is JNI forum then one might suppose that the second is the case.
So you need to do the following.
1. Research the Windows API calls (nothing to do with java) which provides the same functionality as what you want to do.
2. Write a C/C++ application to call those. Verify it works.
3. Create JNI code that implements the same functionality as the application did.

Similar Messages

  • Delete all entries from the following tables - Follow-up Activities (oracle)

    Hello,
    I performed a homogeneous system copy of our development BW system with the database (oracle 11.2.0.3) from the BW production system!
    I already start the oracle database and the SAP system in the target system/server (development BW system) and I´m doing some follow-up activities. One of this activities is (at the system copy guide 6.2.3.2 Activities at Database Level) is to delete all entries from the following tables:
    DBSTATHORA, DBSTAIHORA, DBSTATIORA, DBSTATTORA
    I tried to delete them using SQL Plus:
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ... and it show me that error message.
    This is strange because when I go to transaction SE14 and check the DBSTATTORA I see that table exist and contain a lot of entries!
    Why this is happened in SQL Plus!? I´m running the correct SQL statement for doing this type of task or not?
    How can I delete the entries of that tables? Can I do that using the transaction SE14?
    Can you help me please?
    Thank you,
    samid raif

    Hello
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    It doesn't surprise me as you are not mentioning the schema name here. Instead it should be
    delete from SAPSR3.DBSTATTORA;
    Assuming the schema owner is SAPSR3. if the owner is different then replace that with the correct one.
    Regards
    RB

  • How can I delete Mac files from my windows boot?

    My OS is corrupt and I'm trying to reinstall Maverik, but ran out of space. Is there a way to delete Mac files from my Windows BootCamp?

    windows require thirdparty software to write to mac filesystems
    windows write to mac os extended

  • Deleting Duplicate entries from Internal tbale

    Hi All,
    I have used this code to delete duplicate entries from an internal table.
      DELETE ADJACENT DUPLICATES FROM IT_KOSTL COMPARING KOSTL hours.
    After this statment, still the internal table will remain with a duplicate row.
    Earlier table content before the delete statement:
    Lno  KOSTL                PRCTR                       hours                      hours1 
    1    2081010205     0000208101                 5525.000          1574.500
    2    2081010105     0000208101       105162.000     73854.750
    3    2081010105     0000208101       105162.000     73854.750
    4    2081010205     0000208101        5525.000     1574.500
    The Table gets modified after execution of DELETE statement as follows.
    Lno  KOSTL                PRCTR                       hours                      hours1 
    1    2081010205     0000208101                 5525.000          1574.500
    2    2081010105     0000208101       105162.000     73854.750
    3    2081010205     0000208101        5525.000     1574.500
    Why the line 3 is still present in the table?
    I hope as per that syntax, this line too should get delete.... Is it right?
    Basically i would like to delete both line 3 and line 4 from....
    How to resolve this issue?
    Please help me out....
    Regards
    Pavan
    What might be the reason?

    >
    Pavan Sanganal wrote:
    >   DELETE ADJACENT DUPLICATES FROM IT_KOSTL COMPARING KOSTL hours.
    > Why the line 3 is still present in the table?
    >
    > I hope as per that syntax, this line too should get delete.... Is it right?
    >
    Let me answer you all doubts.
    Why the line 3 is still present in the table?
    Actually it's not 3rd line, it's 2nd line.3rd line were deleted.
    when delete adjecent duplicates trigger than it would delete lower line(3rd in your case) not upper line.
    I hope as per that syntax, this line too should get delete.... Is it right?
    NO.

  • Reduce Size or delete unwanted entries from tables AllDocStreams,AllDocVersions,EventCache,EventLog of Sharepoint 2010 content database

    Size or delete unwanted  entries from tables AllDocStreams,AllDocVersions,EventCache,EventLog  of Sharepoint 2010 content database:
    We using  powershell  scripts to migrate data between   two  sharepoint  2010 sites .
    While  doing migration  we  delete all  document libraries  & list  form  destination  site  and then run  powershell to migrate data from  source to destination. We following this  process
    twice in a week.
    But in doing  so  we found the above mention tables (AllDocStreams,AllDocVersions,EventCache,EventLog ) of destination Sharepoint Content database  are growing at an alarming rate. 
    Wish to know  how  could get rid of  unwanted  data stored in these tables.

    Hi,
    This is old thread but here is your answer for some of the tables you mentioned
    http://blogs.msdn.com/b/sowmyancs/archive/2012/06/29/alldocversions-amp-alldocstreams-table-size-after-upgrading-to-sharepoint-2010.aspx
    Cheers

  • Master Data Deletion : Logs of deleted MD entry from a MD object

    Hi All,
    I need to find details of deleted MD entry from a MD object and by whom ?
    In SLG1, I'm able to find only the logs showing deleted SID number. and user who has deleted it with date.
    But where, I can find what that deleted MD record is ?
    Thanks in advance !

    Is there any way to find it out ?

  • Delete an entry from table T527X.

    Hello Gurus,
    How can we delete an entry from table T527X from se11/se16? Or is there any other transaction by which we can delete this entry? I can not delete the org unit as this org unit is not having any name and the ID is: 00000000. I created this entry using SE11 -> utilities -> Create entry.
    Thanks,
    Chakri.

    When you say select the entry or you double clicking?
    You can try this.. simply select the check box against that entr in the displayed list and then use the menu option Table Entry--> Delete
    Other than, this I can't think of another option.. ofcourse you can always have  a simple custom program  with a couple of lines of code to delete a table entry.
    ~Suresh

  • Delete an entry from UWL

    Hi,
         I need to delete an entry from UWL.
    How to do it.
    Cheers
    Senthil

    Hi,
    Goto the T.code SWWL  or the FM SAP_WAPI_WORKITEM_DELETE to delete the Workitem.
    For SARA, Refer the [Link1|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0980ce4-ddc2-2b10-f1ad-edb89cb54503] [Link2|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201a1d3b-5583-2b10-5192-c108e0f40163] [Link3|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0974515-7225-2b10-14a1-f5abba35b19f] [Link4|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3643cdbb-0601-0010-c89d-c069bc395909].
    Regards,
    Surjith

  • I cannot delete multiple entries from table

    Hi
    i am trying to delete multiple entries from table while keeping some data.
    for example I have the following table
    Plant                            Item
    US101                         777
    US101                         888
    US101                         999
    US101                         666
    I want to keep the  rows where the item is 777 and 888 for plant US101 and keep delete the rest data
    I wrote the following code
    Delete source_package where Plant = 'US101' and Item NE '777' or '888'.
    but all the rows get deleted.
    I tried deleting single row and it worked.
    Delete source_package where Plant = 'US101' and Item NE '777' .
    How can I delete multiple rows.
    thanks

    Hi Bhat Vaidya,
    Plz refer the following code.. IT will solve ur problem..
    REPORT  ZSDN_TEST.
    data: BEGIN OF it_data OCCURS 10,
            plant(4),
            item_num TYPE string,
          END OF it_data.
    data: str type string.
    data: it_final like it_data OCCURS 10 WITH HEADER LINE.
    it_data-plant = 'US01'. it_Data-item_num = 777.  append it_data.
    it_data-plant = 'US01'. it_Data-item_num = 888.  append it_data.
    it_data-plant = 'US01'. it_Data-item_num = 999.  append it_data.
    it_data-plant = 'US01'. it_Data-item_num = 666.  append it_data.
    delete it_data where plant = 'US01' and item_num ne 777 and item_num ne 888.
    LOOP AT it_data.
    write:it_data-plant,it_data-item_num.
    skip.
    ENDLOOP.
    Regards,
    Apoorv

  • Delete the entry from dropdown list in the pop up window in ALV report

    Hi All,
    I have a requirement in the ALV interactive report ZMM_IMPL .If we enter selection screen parameters its displaying the first screen.If we click on 'Goods Issue' tab ,it display the pop up window for Requirement Pick list with Batch number ,Storage location and Quantity.Here we have F4 option for batch number(MCH1-CHARG) and we could see all batches (with stock and without stock) in the drop down.
    Now my requirement is i would need to delete the non stock batches from drop down values.
    Ex:we clich F4 in batch number field(CHARG) ,could see 4 batches Test1 ,Test2 ,Test3 and Test4 .Here Test1 ,Test2 are Batch stock and other two are Non stock batches. We could see all these batches (with and without stock) in MCHB table.Now i would need to delete non stock batches(Batch with zero qty (MCHB-CLABS = 0) from drop down.
    Any idea on this.
    Regards,
    Rpn

    Hi,
    User wants to appear only batches with stock value in the drop down .Here Batches test1, test2 , test3 have stock but  test4  has no stock value. Now the requirement is  if stock does not exist in any of those batches it should not appear in the drop down and propose batches based on quantity.
    Batch stock value can be seen through transaction MB52  and could see only Test1.Test2 and Test3.
    They have arleady code in the program for F4 help to Batch number as following,
      CLEAR: lips.
      REFRESH: gt_lips.
      lips-vbeln = f_vbeln.
      lips-posnr = f_posnr.
      lips-matnr = f_matnr.
      lips-werks = f_werks.
      lips-lfimg = f_bdmng.  "store the requirement quantity for display
      lips-pstyv = f_res_del.  "use to store RES or DEL      "DV1K919143
      CALL SCREEN '0100' STARTING AT 10 2.
    for the ok code to be BT_SAVE all the validation are complete
      IF g_ok_code NE 'BT_SAVE'.
        f_answer = 'A'.
      ENDIF.
    The logic for screen '0100' as follows
    PROCESS BEFORE OUTPUT.
    *&spwizard: pbo flow logic for tablecontrol 'TC_LIPS'
      module TC_LIPS_change_tc_attr.
    *&spwizard: module TC_LIPS_change_col_attr.
      loop at   GT_LIPS
           into GS_LIPS
           with control TC_LIPS
           cursor TC_LIPS-current_line.
        module TC_LIPS_get_lines.
    *&spwizard:   module TC_LIPS_change_field_attr
      endloop.
      MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    *&spwizard: pai flow logic for tablecontrol 'TC_LIPS'
      loop at GT_LIPS.
        chain.
          field GS_LIPS-CHARG.
          field GS_LIPS-LGORT.
          field GS_LIPS-LFIMG.
          module TC_LIPS_modify on chain-request.
        endchain.
        field GS_LIPS-SELKZ
          module TC_LIPS_mark on request.
      endloop.
      module TC_LIPS_user_command.
    *&spwizard: module TC_LIPS_change_tc_attr.
    *&spwizard: module TC_LIPS_change_col_attr.
    MODULE USER_COMMAND_0100.
    MODULE USER_COMMAND_EXIT_0100 AT EXIT-COMMAND.
    process on value-request.
      field gs_lips-charg module lips-charg_values.
    Logic for F4 help as following
    DATA: mc_object LIKE dd23l-mconame,
             help_lips LIKE lips.
       DATA: dseltab LIKE dselc OCCURS 10 WITH HEADER LINE.
       DATA: lf_shlpname LIKE dd30v-shlpname,
             lx_shlp TYPE shlp_descr_t,
             ls_interface LIKE ddshiface,
             lf_rc LIKE sy-subrc,
             lt_retvalues LIKE ddshretval OCCURS 0,
             ls_retvalue LIKE ddshretval.
       help_lips = lips.
       IF NOT help_lips-matnr IS INITIAL.
         CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
           EXPORTING
             input        = help_lips-matnr
           IMPORTING
             output       = help_lips-matnr
           EXCEPTIONS
             length_error = 1
             OTHERS       = 2.
         IF sy-subrc <> 0.
        exit.                        "Ignore conversion errors "50A
         ENDIF.
       ELSE.
         EXIT.
       ENDIF.
       SET PARAMETER ID 'MAT' FIELD help_lips-matnr.
       SET PARAMETER ID 'WRK' FIELD help_lips-werks.
      Export parameters to memory to enable search help via classes
       CLEAR dseltab.
       REFRESH dseltab.
       dseltab-fldname = 'MANDT'.
       MOVE sy-mandt TO dseltab-fldinh.
       APPEND dseltab.
       dseltab-fldname = 'MATNR'.
       MOVE help_lips-matnr TO dseltab-fldinh.
       APPEND dseltab.
       dseltab-fldname = 'WERKS'.
       MOVE help_lips-werks TO dseltab-fldinh.
       APPEND dseltab.
       dseltab-fldname = 'CHARG'.
       MOVE help_lips-charg TO dseltab-fldinh.
       APPEND dseltab.
       EXPORT dseltab TO MEMORY ID 'DSELTAB'.
      Get description for search help
       mc_object = 'MCH1'.
       lf_shlpname = mc_object.
       CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
         EXPORTING
           shlpname = lf_shlpname
           shlptype = 'SH'
         IMPORTING
           shlp     = lx_shlp
         EXCEPTIONS
           OTHERS   = 1.
      Enable value copy from search help to dynpro field
       READ TABLE lx_shlp-interface INTO ls_interface
                                    WITH KEY shlpfield = 'CHARG'.
       ls_interface-valfield = 'X'.
       MODIFY lx_shlp-interface FROM ls_interface INDEX sy-tabix.
      Start search help dialog
       CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
         EXPORTING
           shlp          = lx_shlp
         TABLES
           return_values = lt_retvalues
         EXCEPTIONS
           OTHERS        = 1.
       IF sy-subrc EQ 0.
         READ TABLE lt_retvalues INTO ls_retvalue
                                 WITH KEY fieldname = 'CHARG'.
         IF sy-subrc EQ 0.
           lips-charg = ls_retvalue-fieldval.
           gs_lips-charg = ls_retvalue-fieldval.
         ENDIF.
       ENDIF.
    How to delete entry from F4 help.Any idea?
    Regards,
    Reddy

  • How to add the entries and how to delete the entries from custom Z-table?

    Hi Experts,
    My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
    Here how to add the entries from program to Z-table.???
    And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
    Could you please guide me the logic how to crack this???
    Let me know if you need more Info
    Thanks
    Sanju

    Hi Sanjana,
    What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
    *Insert Statement
    INSERT dbtab
    Syntax
    INSERT { {INTO target VALUES source }
           | {     target FROM   source } }.
    Effect
    The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
    System Fields
    The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
    sy-subrc Meaning
    0 At least one row was inserted.
    4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
    The INSERT statement sets sy-dbcnt to the number of rows inserted.
    Note
    The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
    *Modify Statement
    MODIFY dbtab
    Syntax
    MODIFY target FROM source.
    Effect
    The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
    System fields
    The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
    sy-subrc Meaning
    0 At least one line is inserted or changed.
    4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
    The MODIFY statement sets sy-dbcnt to the number of processed lines.
    Note
    The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
    Hope it helps...
    P.S. Please award points if it helps...

  • How to delete the entries from NAST table

    Hi,
    Please help me out by providing any function module that delete's the entries from hte NAST table.
    Regards,
    Kiran.L

    REPORT ZSCD_TEST13.
    delete from nast where VSTAT = '1'.
    =====
    If you see the FM : NAST_DELETE_OBJECT, its only useful when NACHA = 7 (i.e. message transmission medium = Simple Mail)
    For others its not useful.
    We had similar issue few days back and after long RnD, we straightaway deleted the entries using the Zprogram.
    regards,
    Edited by: Pranu Pranu on Aug 19, 2008 1:42 PM

  • How to delete the entries from the transport request

    i need to delete the entries programatically from the transport request for all the entries which is exists in the package for the tables e070 and e071.

    Hi,
    I think you need to have authorization for that thru auth group SA.
    One more thing is where ever its created like source client only you can do if u have authorization.
    Regds
    Sivaparvathi
    Please reward points if helpful...

  • Deletion of entries from a table whose name is controlled by Z program.

    Hi all,
    I have to delete all entries in a custom table whose "Name" has a certain pattern say ZDBTAB01, ZDBTAB02, etc.
    I arrive at the table name through ABAP code. But the statement
    "DELETE FROM tab_name" doesnot work where tab_name is a variable.
    Can anyone suggest a function module to perform this action..??
    Thanks.
    Regards,
    Senthil G.

    data : v_tabname ..... value 'ZXXX'
    delete from (v_tabname).
    It should work. Are you getting any error message as such.

  • Delete an entry from a ZIP archive

    Hi,
    Does anyone know how to delete a zipentry from a zipfile?
    G.

    Yes. Recreate the ZIP file without writing that special entry... (You can't change or delete ZIP entries with the Java classes, and I'm not sure whether it's possible at all).

Maybe you are looking for

  • Displaying the contents of internal table- in email Step of workflows

    Hello Folks, I wanted to display the contents of an internal table ( would contain a list of opportunites ), in an email sent throught the workflow: My idea was to LOOP AT <ITAB> into <WA> from an external program and then call the workflow for each

  • My iphoto is now missing?

    i just posted something about my app store missing and now my iphoto is missing. it says it is damaged or incomplete... i need help... please

  • Iphoto 6 and time machine

    Based on what I have read, TM is not compatible with iphoto 6... so does that mean that it's not backing up the content? Or only that i can't go back and retrieve specific files? Does that make sense? I just want to make sure something is backing up

  • Clip play when reach area on page

    Hi everyone! Im trying to play a clip that I have made in edge animate on my website, I havent published it yet so i dont have a example but does anyone know how to play a clip when you reach an area of a page? Thansk

  • Signed applet communication on Mac

    In Denmark homebanking is goin on the net with NetBank. My bank postulates that Mac users cannot participate, as signed applet communication is not supported on Macs. I find it hard to believe an suspect that ActiveX components are the crook here. Ca