how to read variable names from user input within a batch script? Share on Facebook Post on reddit Tweet on Twitter Share on LinkedIn Home › Forums › Scripting › DOS Command Shell › how to read variable names from user input within a batch script? This topic has 2 replies, 3 voices, and was last updated 9 years, 6 months ago by georgeeye. Viewing 1 post (of 1 total) Author Posts jon80Member Jul 11, 2011 at 12:56 pm #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 Author Posts Viewing 1 post (of 1 total) You must be logged in to reply to this topic.