Is it possible to create a variable that will change a data path in a command?
Posted: 18 Jun 2020 09:15
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 number and apply it to me in the command line. Example:
Instead of setting the number myself
C:\Data\Hosted\Company000000\Profiles\
I would like something like this:
Enter Client Number:
C:\Data\Hosted\Company%ClientNo%\Profiles\
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 number and apply it to me in the command line. Example:
Instead of setting the number myself
C:\Data\Hosted\Company000000\Profiles\
I would like something like this:
Enter Client Number:
C:\Data\Hosted\Company%ClientNo%\Profiles\