how to read variable names from user input within a batch script?

Home Forums Scripting DOS Command Shell how to read variable names from user input within a batch script?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    jon80
    Member
    #155436

    I would like to edit a batch command file so that the last parameter, is updated by the user, and, the batch file checks whether the file exists and is accessible before running the command:

    @ECHO OFF
    C:
    CD “Documents and SettingsJonworkspaceJavaDevcorejava7v2v2ch4ExecSQL”

    rem if < > exists run the next command
    java -cp postgresql-8.4-702.jdbc4.jar;. ExecSQL < >
    pause

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.