Code: Select all
:Direct
SET /p direct= "Copy and paste file path here. "
cd "%direct%"
Call :Assist
But, when I run the command that I have set to call this it prints "Copy and paste file here. " But, after I enter the path and press enter the script runs this bit of code instead.
Code: Select all
:userInfo
SET /p userInfo= "What user do you want info on? "
net user %userInfo%
Call :Assist
I don't understand what is going on. I have tried moving the first script and I have tried running the script on another computer. If you want to look at the whole program you can get it here.
https://github.com/AssistTool/The-Assist-Tool.git