Is there a way to display the remote name associated with a drive like cmd.exe? In cmd.exe's prompt, $M Displays the remote name associated with the current drive letter or the empty string if current drive is not a network drive.
Is there a way to display the remote name associated with a drive like cmd.exe? In cmd.exe's prompt, $M Displays the remote name associated with the current drive letter or the empty string if current drive is not a network drive.
You can embed functions and internal variables in the prompt string, nesting them to create some fairly elaborate effects. Remember to put strong quotes around the definition, or else double the percent signs.
> a drive like cmd.exe? In cmd.exe's prompt, $M Displays the
> remote name associated with the current drive letter or the
> empty string if current drive is not a network drive.
$M is already used in TCC to display the time.
In TCC, you can use the @TRUENAME and/or @UNC functions in your prompt
to display the remote name.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.