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

  • Home
  • SEARCH
  • 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 8906661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:42:50+00:00 2026-06-15T02:42:50+00:00

In my form I store/create a commandline arguments inside a var to use it

  • 0

In my form I store/create a commandline arguments inside a var to use it later with a control button, to launch a external app with that arguments stored inside my var, and the var contents is a tring like this:

ExternalAPP.exe "Argument 1" "argument 2" "argument 3" "more arguments"

PS: The arguments are references to folder paths.

And what i need to do is split the var to get all the folder paths (arguments), and make something like this:

' Pseudocode
For each folder in var.split(ControlChars.Quote)
    for each file in get.folder.files
     appendline.(new_text_file, file.Name)
  Next

Thanks if somebody helps me

UPDATE:
the content of the VAR that i need to split is exactly this:

“F:-=Temporal=-\Documentos\DVD Temazos\Rock”
“F:-=Temporal=-\Documentos\DVD Temazos\Techno”
“F:-=Temporal=-\Documentos\DVD Temazos\Pop”

*NOTICE THAT THE FORUM DOES NOT PASTED THE SLASH \ AFTER DRIVE LETTER F:*

  • 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-06-15T02:42:52+00:00Added an answer on June 15, 2026 at 2:42 am

    You should try something like this:

        Dim var As String = "Command.exe ""F:-=Temporal=-\Documentos\DVD Temazos\Rock"" ""F:-=Temporal=-\Documentos\DVD Temazos\Techno"" ""F:-=Temporal=-\Documentos\DVD Temazos\Pop"""
        var = var.Replace(":", ":\").Remove(0, var.IndexOf(" ") + 2)
        Dim dirs As New List(Of String)(var.Split(New String() {""" """}, StringSplitOptions.RemoveEmptyEntries))
        Dim files As New List(Of String)()
    
        For Each path As String In dirs
            Try
                If (Directory.Exists(path)) Then
                    files.AddRange(Directory.GetFiles(path))
                Else
                    Debug.Print(path & "path does not exists") ' check "Output Window"
                End If
            Catch ex As Exception
                Debug.Print(path & ": exception :" & ex.Message)  ' check "Output Window"
            End Try
        Next
    

    EDIT:

    I just noticed this in your question:

    NOTICE THAT THE FORUM DOES NOT PASTED THE SLASH \ AFTER DRIVE LETTER F:
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a php form that for registering the user and store
I tried to create a simple ComboBox: var combo1 = new Ext.form.ComboBox({ store: [1,2,3],
How do i create a form in google app engine using java and store
I have a website form that collects url of users to store in a
i have create 5 dynamic buttons in 1 row and store the button info
I'm trying to create a windows form application that manipulates data from several tables
In one of my VB6 forms, I create several other Form objects and store
I create a filtering select like so: var lensMapServiceFS = new dijit.form.FilteringSelect({ displayedValue: this.layerNames[0],
I have to create BYTE* array that will store some text and binary data
I have my store form that's created by ajax and want to reset certain

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.