Search found 6 matches

by MikeInThe901
03 Aug 2023 09:36
Forum: DOS Batch Forum
Topic: Add A Second Question to a Window?
Replies: 1
Views: 7092

Add A Second Question to a Window?

I have the following code (thx Batcher) in a batch file that accepts keyboard input from a prompt in a window. Is it possible, preferably in the same window, to give the user a second prompt with a drop-down box containing two options for choosing a city name, to become an additional variable? Thank...
by MikeInThe901
01 Aug 2023 10:00
Forum: DOS Batch Forum
Topic: Window from Batch? [SOLVED]
Replies: 3
Views: 3178

Re: Window from Batch?

Thank you again Batcher! I appreciate your help.
by MikeInThe901
01 Aug 2023 06:36
Forum: DOS Batch Forum
Topic: Window from Batch? [SOLVED]
Replies: 3
Views: 3178

Window from Batch? [SOLVED]

I can use the code below in a batch file to get keyboard input from a command prompt. Is it possible to do the same thing but get the input from a Window instead of a prompt?

set /p Var=What is your name:

Thanks!
by MikeInThe901
31 Jul 2023 08:02
Forum: DOS Batch Forum
Topic: If...Then Not Working
Replies: 4
Views: 3946

Re: If...Then Not Working

Awesome! Thank you Batcher!
by MikeInThe901
30 Jul 2023 10:29
Forum: DOS Batch Forum
Topic: If...Then Not Working
Replies: 4
Views: 3946

If...Then Not Working

The code below works to set a variable CLetter based on the first letter of a new customer last name, input from the keyboard, if the first letter is 'A'. I need it to compare for A-J, not just A. @echo off setlocal ENABLEDELAYEDEXPANSION set /p CName="Please enter new customer as LastName, FirstNam...
by MikeInThe901
24 Apr 2023 11:24
Forum: DOS Batch Forum
Topic: Need Help w Batch Rename
Replies: 1
Views: 3358

Need Help w Batch Rename

Thousands of files in a folder w following 2 base names. Within each name all files are consecutively numbered, and some also have an 'a' or 'b' after the digits. Smith_0001.jpg Smith_0002.jpg Smith_0002a.jpg Smith_0003.jpg Bill_1001.jpg Bill_1001a.jpg Bill_1002.jpg Bill_1003.jpg Bill_1003a.jpg Can'...