- Apr 17, 2005
- 784
- 0
- 0
I don't know much, if any code, but I was wondering if someone could write a program to run an exe (PSLoggedOn in this case), but instead of me modifying the batch file each time, having the program prompt me to enter either a username or password. I think the batch file should look like this:
psloggedon \\computername
-or-
psloggedon username
....and if I open up a command prompt and type psloggedon \\computername *example* I am able to use the program psloggedon. I just want to be able to enter either a.) a username and/or b.) a computername
Thanks guys!
psloggedon \\computername
-or-
psloggedon username
....and if I open up a command prompt and type psloggedon \\computername *example* I am able to use the program psloggedon. I just want to be able to enter either a.) a username and/or b.) a computername
Thanks guys!