Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6471145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:11:27+00:00 2026-05-25T06:11:27+00:00

I get this output from dir /a C:\Information\DataTransformation\externLibs\system Volume in drive C has no

  • 0

I get this output from dir /a C:\Information\DataTransformation\externLibs\system

 Volume in drive C has no label.
 Volume Serial Number is 1878-D614

 Directory of C:\Information\DataTransformation\externLibs\system

08/23/2011  09:52 PM    <DIR>          .
08/23/2011  09:52 PM    <DIR>          ..
08/23/2011  09:52 PM           196,608 AFPtoXML_DP.dll
08/23/2011  09:52 PM            13,259 ASN1toXSDRunner.jar
08/23/2011  09:52 PM    <DIR>          birt
08/23/2011  09:52 PM             8,192 CM_CreateUUID.dll
08/23/2011  09:52 PM            19,456 EdifactValidation.dll
08/23/2011  09:52 PM            60,145 EDIValidator.jar
08/23/2011  09:52 PM            20,159 Excel2007ToDataXml.jar
08/23/2011  09:52 PM           217,088 ExcelToHtml.dll
08/23/2011  09:52 PM           192,512 ExcelToTxt.dll
08/23/2011  09:52 PM           541,646 ExcelToXml.jar
08/23/2011  09:52 PM            23,401 ExcelToXmlDataOnly.jar
08/23/2011  09:52 PM            10,032 ExcelToXml_03_07_10.jar
08/23/2011  09:52 PM             8,192 guid_transformer.dll
08/23/2011  09:52 PM             9,216 hebAsciiBidiKH.dll
08/23/2011  09:52 PM            40,960 hebAsciiBidiMoz.dll
08/23/2011  09:52 PM    <DIR>          HIPAAValidation
08/23/2011  09:52 PM            21,921 HIPAAValidation.jar
08/23/2011  09:52 PM             1,613 IBANValidator.jar
08/23/2011  09:52 PM             4,641 loader.jar
08/23/2011  09:52 PM            24,576 MSMQ.dll
08/23/2011  09:52 PM            24,576 MSMQOutput.dll
08/23/2011  09:52 PM            28,672 ODBC.dll
08/23/2011  09:52 PM           209,563 OfficeToXml.jar
08/23/2011  09:52 PM            17,408 PdfFormToXml_1_00_DP.dll
08/23/2011  09:53 PM    <DIR>          PDFLanguages
08/23/2011  09:52 PM           286,720 PdfToTxt2_3_02_07_DP.dll
08/23/2011  09:52 PM           409,600 PdfToTxt_2_02.dll
08/23/2011  09:52 PM           528,384 PdfToTxt_3_00_DP.dll
08/23/2011  09:52 PM           634,880 PdfToTxt_3_02_DP.dll
08/23/2011  09:52 PM    <DIR>          poi
08/23/2011  09:52 PM            24,576 PowerpointToHTML.dll
08/23/2011  09:52 PM            13,643 PptToXml.jar
08/23/2011  09:52 PM             1,487 Regex1_4.jar
08/23/2011  09:52 PM            29,696 RtfToTxt_DP.dll
08/23/2011  09:52 PM           217,088 WordToHtml.dll
08/23/2011  09:52 PM           188,416 WordToRtf.dll
08/23/2011  09:52 PM           188,416 WordToTxt.dll
08/23/2011  09:52 PM           305,428 WordToXml.jar
08/23/2011  09:52 PM            73,728 WpToTxt_DP.dll
08/23/2011  09:52 PM            19,456 X12EDIValidation.dll
08/23/2011  09:52 PM           927,669 xercesImpl.jar
08/23/2011  09:52 PM           115,701 xercesSamples.jar
08/23/2011  09:52 PM           123,705 xml-apis.jar
08/23/2011  09:52 PM           123,705 xmlParserAPIs.jar
08/23/2011  09:52 PM             8,786 XmlToBirtPP.jar
08/23/2011  09:52 PM           671,744 XpdfText.dll
          42 File(s)      6,586,664 bytes
           6 Dir(s)  15,978,725,376 bytes free

I want to remove the below lines from output

 Volume in drive C has no label.
 Volume Serial Number is 1878-D614

 Directory of C:\Information\DataTransformation\externLibs\system

My Code

def externalLibrarySystem(csm,pluginOutputs)
{
String rs = (String)pluginOutputs.get("ExternalLibrarySystem")
String temp=rs

csm.externalLibrarySystem(rs)
{
    "${rs}"
}
}

Note: temp has the dir output

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T06:11:27+00:00Added an answer on May 25, 2026 at 6:11 am

    In Java you use the Scanner class.
    Copy line for line to a StringBuilder. Have a int counter and don’t append the first 5 lines.

    String rs = (String)pluginOutputs.get("ExternalLibrarySystem");
    StringBuilder sb = new StringBuilder();
    Scanner sc = new Scanner(rs);
      int cnt = 0;
      while (sc.hasNextLine()) {
       if(cnt>4){
          sb.append(sc.nextLine()+System.getProperty("line.separator"));
       }
       cnt++;
      }
    String temp = sb.toString();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can you get 1 as an output from #2? #1 I ran this
any idea how i can get the code below to produce this output? 1
In my output, I get @{ActiveSyncEnabled=False} how do I parse this so that it
I'm using toLocalizedTime to output a date, as below <span tal:content=python:here.toLocalisedTime(date.get('start_date'))/> This outputs eg.
I get this error: Can't locate Foo.pm in @INC Is there an easier way
I get this error on an update panel within a popupControlExtender which is within
I get this error when I do an svn update : Working copy XXXXXXXX
I get this error:- You have an error in your SQL syntax; check the
We get this error in Visual Studio 2005 and TFS very often. Can anyone
I get this message: Cannot find the X.509 certificate using the following search criteria:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.