hey everyone im a bit of a noob with programing because im only 16 so can you please explain your reply simply.
im trying to make a batch file that asks for a password and opens a file and if the password is wrong displays a message i know how to do this with a .vbs file (like the one you type in notepad not like visual basic 6). i will put the .vbs code up and could some one please show me how to put into cmd lanugage
x = inputbox ("type in password")
if x = "mypassword" then
set x = createobject("wscript.shell")
x.run "file i want to open"
else
z = msgbox("wrong",0,"Error")
end if