Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Mapping a network drive (https://www.kinook.com/Forum/showthread.php?t=5128)

abc123 02-04-2013 03:44 PM

Mapping a network drive
 
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 10:38 AM

Quote:

Originally Posted by abc123 (Post 20183)
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/Ma...riveaction.htm
http://www.kinook.com/VisBuildPro/Manual/buildrules.htm

Quote:

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 12: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 12: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/Ma...omptsample.htm


All times are GMT -5. The time now is 12:46 AM.


Copyright © 1999-2023 Kinook Software, Inc.