VB App to Batch file
Posted on 2005-04-25
Could I please get some help on a project I'm doing. I have this one last area to complete and I just can seem to get it. I have written a VB6.0 app that does a numbr of functions inside a WinPE environement and has function that will ask the user to enter: \\ServerName\Share, USerName and Password so they can map a network drive. I need to pass this information from the VB app to a batch file so the user can map the drive. I have DIM ServerName, UserName and Password and I know these work. How do I place the information collected from the Inputboxes in VB6.0 to a Batch file that will allow a drive to be mapped?
My batch file has the Net Use X: preset. What comes next?