Windows cmd subst




















I use them on W7 too. The registry key worked like a charm on the Windows 7 SP1 64 bits machine of my colleague, who needed an extra drive letter and asked me for assistance. I figured it out myself, and I think the article really needs that information. Thanks in advance! If only one user i using the machine this works. On a per user basis, say if the machine is shared, you can add a script with the requisite subst command to the Windows startup folder.

On windows 8. Then in that folder create the script with the necessary subst commands. Your email address will not be published. Skip to content. Ghacks is a technology news blog that was founded in by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.

Search for:. Martin Brinkmann. Windows , Windows tips. It is very easy to assign a drive letter to a folder, to do that, do the following: Click Start, select run and enter cmd. You can alternatively bring up the run box with Ctrl-r, typing cmd and hitting enter. This should open the command line interface of your windows operating system. The command that we need is the "subst" command and we use it the following way: subst drive folder. Make sure you don't add a trailing slash to the folder as the path may not be found otherwise by the command.

Find out how to assign drive letters to folders to access them more quickly on any machine running the Windows operating system. Microsoft Windows Security Updates January overview. One way is to put this code fragment at the head of your batch file:.

Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site.

Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct.

Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation. Details required : characters remaining Cancel Submit 5 people found this reply helpful. For some reason, subst seems to be broken. I have two machines that I did a fresh install of Windows 10 Pro on and subst "works" in that a new drive letter is available in the command prompt but the drive letter does not show up in Explorer, even when I run the subst from an elevated command prompt.

I don't know about Windows 8 but in Windows 7 and before, the subst drive letter would appear in Explorer. This is some of the standard advice Microsoft Support Engineers give when they don't know the answer. Whenever an MS Support person tells you to run "sfc", it should be read as, "I don't know but I have to reply".

Details required : characters remaining Cancel Submit people found this reply helpful. Tom read my previous posting again. You can't see the virtual disks in Windows Explorer because it does not seem that you can run it as an administrator.

If you use another file manager such as Magellan and run it as an administrator, you will see the disk. Some programs can see the disk in normal mode, but others must be run as an administrator to see them. This is in addition to running subst in the administrator command prompt. If I manually run cmd as administrator and launch my autoexec. Trying to get this code to set Admin privilege automatically for the cmd prompt, in the Autoexec.

Very frustrating that we are forced to jump through hoops with diminished functionality with each upgrade. It's like having our hands and feet tied behind our back and attempt to do our jobs. I do not run my bat commands in autoexec. It therefore runs quite late in the boot process--when programs are being run. It could be that autoexec. Tom: I've been successful in seeing the substituted path in Windows Explorer after running the Subst command within a CMD window that is run as Administrator.

I even see it appear in Explorer when not run as Administrator but many of my applications, e. Tradestation, do not see the Substitution. My problem is, running CMD as Administrator in a batch file to make the Subst more permanent on bootup.



0コメント

  • 1000 / 1000