He can get away with only one extra slash if he uses single quotes: '\\\machine\d$'. But that's just confusing the issue. Remembering how to do it these ways is harder than learning how it works.
Alternatively, he could use '//machine/d$' since Windows accepts either slashes. Tools don't necessarily accept either slash (especially unquoted), but the system does.
In reply to Re^2: Mapping a drive with Win32::Fileop
by ikegami
in thread Mapping a drive with Win32::Fileop
by bennyroh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |