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 8009463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:27:27+00:00 2026-06-04T18:27:27+00:00

So I have this crazy idea to pass strings from an excel sheet into

  • 0

So I have this crazy idea to pass strings from an excel sheet into a command line tool, for a data integrity test.

Say I have a sheet set up as so:

  A        B        C        D         E
1 ID       First    Last     Position  IP

2 312      George   Foreman  CEO       999.22.3.1

3 443      Billy    Mays     Mailroom  999.12.5.2

4 243      Sugar    Ray      CFO       999.55.2.1
...
n 999      Betty    Crocker  Boss      999.21.0.1

Where the parameter I’d like to pass into my command line tool is E (IP).

I’d like to pass in my parameters in this form:

C:\User> Program.cmd IP

e.g.

C:\User> Program.cmd 999.55.2.1

What would be the best way to approach this problem? I’ve been trying to write a batch script, but I’m having trouble extracting the string I want. Should I just suck it up and do this in C# or Java, or is there a different way (I’m very curious because I can’t seem to find a paradigm for this, and I’d really like to learn more about batch).

Thank you!

  • 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-04T18:27:29+00:00Added an answer on June 4, 2026 at 6:27 pm

    I see no reason why you can’t write a macro that uses shell to call the exe. see http://dmcritchie.mvps.org/excel/shell.htm

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this concrete problem, but if You find my initial design idea crazy
Okay, this is just a crazy idea I have. Stack Overflow looks very structured
i have this crazy label for each time i create a migration that use
This is crazy, I have been trying for hours to get this to work.
I'm going crazy with this...why won't this center I have tried almost all the
This problem drives me crazy.I have vectorA(float),vectorB(string1),vectorC(string2) which are parallel and i want to
This is driving me crazy. I have an extension which we use to alter
This has been driving me crazy for the past few minutes I have a
This is driving me crazy. I have a very simple user control: public int?
This is driving me crazy and I can't find the answer anywhere. I have

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.