I am going mad.....
I am in no way a scripter, in fact, i am about as far away from a programming mind as the earth is from the sky so bare with me! hopefully this is simple
i have never scripted a thing in my life until a fortnight ago, nd jumped in at the deepend - decided to script my Active Directory Structure...... surprisingly enough, with much yelling, screaming and cursing i have got 95% of it complete even with variables cranking along! woohoo!!
now what i am struggling with is how to base a Variable, on user input
ie, i want my scirpt to when run prompt for a number for example, box pops up, says enter number and then the value that is entered becomes the value of the variable! i thought this would be easy so jumped onto google and experts and found nothing worked for me.
i have tried this ===== set /p StoreNo=Please enter your Store Number: ===== to try and get it and declared the StoreNo Variable at the top of my script, however i run it and it errors right off!
i know there is something i am missing here and you guys will probably have a good laugh at my ignorance, but i have no idea and most of my script is copy, paste, edit!
i would like three different variables specified by user input when the script is run :) Please help me I am a networker and thats it!