View Full Version : Mapping a network drive
abc123
02-04-2013, 04:44 PM
How do I check to see if a specific drive/path is mapped?
Also, if it isn't mapped, I would like to map it using a specific ID and password that are each stored in their own macro. Is this possible through a built-in action or will this need to be done in a script?
kinook
02-05-2013, 11:38 AM
How do I check to see if a specific drive/path is mapped?
List the mapped drives with the Map Drive action, then add another Map Drive step following that to map the drive, with a conditional build rule to build only if %LASTSTEP_OUTPUT% does not contain the path to map.
http://www.kinook.com/VisBuildPro/Manual/mapdriveaction.htm
http://www.kinook.com/VisBuildPro/Manual/buildrules.htm
Also, if it isn't mapped, I would like to map it using a specific ID and password that are each stored in their own macro. Is this possible through a built-in action or will this need to be done in a script?
You can specify the username/password in the Map Drive action.
abc123
02-05-2013, 01:43 PM
Is it possible to use a macro as the password? I'd rather ask for the password to be entered rather than store it in Visual Build.
Thanks!
kinook
02-05-2013, 01:47 PM
Yes, you can use a macro for the password. If the macro is not defined, the user will be prompted for the value when the step builds.
http://www.kinook.com/VisBuildPro/Manual/promptsample.htm
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.