wntAddDrive with @DEFAULT not working

Started by jtrask, June 10, 2015, 01:52:25 PM

Previous topic - Next topic

jtrask

I want to connect to a network share without being too particular about the credentials, but @DEFAULT doesn't appear to be a valid constant. It didn't turn blue, nor does it work.

jtrask


....IFICantBYTE

@DEFAULT and @NONE did not get highlighted in blue for me either, but they worked when trying to map a shared (with everyone) folder on a server to a drive letter.
Regards,
....IFICantBYTE

Nothing sucks more than that moment during an argument when you realize you're wrong. :)

td

@DEFAULT and @NONE are extender constants and extender constants are not necessarily added to WBS's context highlighting system but they are both supported by and work with the extender.  The OP's problem has some other cause than the constants not working.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

jtrask

Thank you for clearing that up.  I'll see what I can figure out.

jtrask

As usual, this was the result of me doing something stupid.  I was passing \\Server\Share as the share.  Once I trimmed it down to just the share name, it worked.  I simply jumped to a conclusion when my constants didn't change blue.