Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-04-2013, 04:44 PM
abc123 abc123 is online now
Registered User
 
Join Date: 01-18-2013
Posts: 6
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?
Reply With Quote
  #2  
Old 02-05-2013, 11:38 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Quote:
Originally Posted by abc123 View Post
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.
Reply With Quote
  #3  
Old 02-05-2013, 01:43 PM
abc123 abc123 is online now
Registered User
 
Join Date: 01-18-2013
Posts: 6
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!
Reply With Quote
  #4  
Old 02-05-2013, 01:47 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 02:04 AM.


Copyright © 1999-2023 Kinook Software, Inc.