Search found 3 matches

by the_importer
18 Jun 2020 12:57
Forum: DOS Batch Forum
Topic: Renaming multiple folders in a command prompt, is it possible?
Replies: 0
Views: 566

Renaming multiple folders in a command prompt, is it possible?

My 2nd a final question of the day, I have multiple folders in the same directory that all end with a .V2 and I'd like to rename them to a .V6 without changing what's before the .V2. I tried different ways but with no results, so I'm not sure it's possible or not.
by the_importer
18 Jun 2020 12:52
Forum: DOS Batch Forum
Topic: Is it possible to create a variable that will change a data path in a command?
Replies: 3
Views: 576

Re: Is it possible to create a variable that will change a data path in a command?

Aacini wrote:
18 Jun 2020 11:31

Code: Select all

set /P "ClientNo=Enter Client Number: "
echo C:\Data\Hosted\Company%ClientNo%\Profiles\
Antonio
Works perfectly, thanks mate.
by the_importer
18 Jun 2020 09:15
Forum: DOS Batch Forum
Topic: Is it possible to create a variable that will change a data path in a command?
Replies: 3
Views: 576

Is it possible to create a variable that will change a data path in a command?

Hi there, I'm trying to make a batch file that will run a program which needs to be applied to different paths everytime. Now besides manually changing the path everything which is literally 6 numbers to edit, I was wondering if it would be possible to simply have a the command ask me that 6 digit n...