I use the subst command all the time. It is a great way to get around Microsoft's path length limit. This is something kept around for backwards compatibility reasons. Some programs don't like it when the total length of a file path, in number of characters starting with the drive letter and ending with the last character in the file name/extension, exceed a certain length -- 256 characters, if I recall. The subst command has been around for a long time, at least as far back as MS DOS 6.2. I find myself using the command more now than I did in the '90s.
you didn't need to type @echo off at the beginning of a batch script that only has one line of code just enter @ before the command and it'll have the same effect for example, if you want to start cmd.exe, instead of writing @echo off cmd you can do a one liner, like this: @cmd
@@edcdecl No, but it does something slightly different Normally, Windows displays every command that is being executed and the path where it's being executed from. Without @ symbol: C:\Windows\System32> echo hello hello With @ symbol: hello To hide output of a command, you would redirect its stdout to NUL (a special device file, which allows you to write output of a command to nothing). e.g. Without redirect: C:\Example_folder>dir /b cat.txt dog.txt dummy.dat With redirect: C:\Example_folder>dir /b >nul [no output] To hide both command display and output, you would use this command: @dir /b >nul
@@markusTegelane Sorry I worded it badly. I meant that it didn’t show the prompt and the command it was about to run. I actually didn’t know about NUL though.
Thanks. I never considered using "net use" for a local folder. I use it for network folders often. This will save me time from changing links in some work I do.
Thank you so much I needed direct one-click way to get to my Developement folder and now I have it as drive. I knew about this method before, but with your help I learned how to prevent dissapearing. Thank you!!
Well, the network drives technically are network drives 😉 You are connecting to them via TCP/IP and your PC doesn't know that they are on the same system. The network shares "c$" are so called hidden administrative shares which are default on windows. They exist for each drive. You can connect to them from any PC, but you need administrative privileges to do so. You also do not need your PCs name. "\\localhost\c$" works just fine. Network drives can also be connected and disconnected via UI.
they exist \c$ for example but should never be used for a trivial purpose like this. create a share for the destination directory and then do \\compoutername\sharename instead.
Finally a video on this topic. Have been looking for this the whole time. I wanted to mount the Dropbox folder, but couldn't figure out how to do so. Thanks
8:00 A couple of programs i use actually end up using the network path itself (i assume it reads it off the network drive properties) rather than the drive letter, e.g. rather than say R:\Test, it'll just use "\\JOE-PC\B$\Test", this caused me a huge headache because, as mentioned at the start one of the cool things about mapping drive letters is that the location itself can change but it'll always just be R:\ - obviously this is defeated if the program just uses the actual full path. Also, as others have mentioned at least simple network drive stuff can be done via UI
2:20 it will work if you run it as admin. The driver will appear only for the user who ran the subst. So if you then run the file explorer as admin, you'll see it. Basically, run this as admin if the soft needed it will be run as admin too And on the downside of subst, many soft will refuse to see them. Also, path to subst drive will often be seen as non existing. This is probably due to the same "only the one crating it see it" thing tho
Oh wow! I'm getting serious flashbacks to setting up folks on Windows 2000. I've not used net use in such a long time. Thanks for the memories, Joe! You da best!
8:17 There are open files and/or incomplete directory searches..... That happens because when you are in R: and you type "net use r: /d" your default drive is the same as the one you are trying to remove. If you first went to c: then typed it, it doesn't do that. Hope that helps. Great tech advice video and good instructions, keep on producing more for us, it's good stuff. Growls from eastern Pennsylvania. Also, video made on 9/18, length was 9:18. what a co-inky-dink.
WARNING: _Using these methods will prevent the usage of the recycle-bin._ If you map a drive-letter to a folder, then delete a file from that "drive", it won't be sent to the recycle-bin, it will be permanently deleted. For example, if you map "T:" to "C:\foo", deleteing "C:\foo\bar.txt", it will send "bar.txt" to the recycle-bin, but deleting "T:\bar.txt" will wipe it out. (This applies to subdirectories on the mapped drive-letter as well.)
I haven't thought about SUBST since the floppy days under DOS. Very useful for a PC with a single floppy drive, (A:) but some damned program insisted on using drive "B:"
I use subst whenever I have a file whose path is too long (I don't use NTFS hacks to extend MAX_PATH for compatibility reasons). I can subst(itute) a drive-letter for the containing folder, rename the file to something shorter, then remove the drive-mapping. 😉
Years ago I would use the Net Use command to map a folder to a drive letter to get older legacy programs to run properly. I came up with that method when I needed something to run on a specific drive letter and had forgotten about it until now. I would pull out these tricks I came up with over the years when the younger IT guys couldn't figure out how to get something to work, and they'd be reminded that I was old, but was far from a dinosaur.
We have a folder at my work called c:\STOREDATA, which is mounted with net use. We had issues with subst. Is this because we ran it as an administrator? We do all this in a scheduled task at logon. Other computers definitely need net use for it to work...
If you were wondering if a virtual network drive created by "net use" would fool File History that you have an external drive available, the answer seems to be that it won't. Not on Windows 10 anyway.
I recall being able to make virtual disks by renaming a zipped folder with a .vhd extension or something like that but I didn't see you mention that in this video
used to use subst for games without proper cd-check but do make sure the files are in the root of a (presumed) cdrom. run faster off a hard drive, no worry about scratching, etc. glad optical is all but gone.
If you need a drive in a service it has to be mounted as admin as services run as a different user than yours and only the admin should be able to mount drives that can be accessed by other user. If I am wrong it is a security flaw :)
Very Interesting! And this also explained to me something else I didn't understand - when I installed Google Drive Sync on Windows 7 (so that I can access drive content from File Explorer), the Google Drive contents showed up as a seperate drive in File Explorer. I always wondered how this happened - I guess the program must have done something similar to what you showed here!
I use the DOS Device method for a while and it's the best in my opinion, since the behavior is closest to a real drive. An important advantage you didn't mention is that this works for elevated processes too, while the other methods create drives that elevated processes can't see (which is also why subst run as admin "doesn't work" - it actually does work but the drive can now be seen ONLY by elevated processes). Note however that by default the new drive won't have a recycle bin, but I solved this with another registry modification - (I would have loved to share how but it seems someone keeps deleting this comment when I include a link to my solution... >:-[ ) - Unfortunately, a major version upgrade will wipe both hacks but that's why I put them into reg files that I can just reapply when needed. Also, tiny nitpick: \??\ is NOT an UNC path. It's a native kernel path (object manager path), and the object manager namespace has an entry named ?? on the root level that points to a combined view of \DosDevices and \Sessions\\DosDevices.
OK I guess I can paste the contents of the reg file here for enabling recycle bin on virtual drive Z: (Note, if you need another virtual drive with recycle bin, you just have to change the CLSID to something else) --- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{9147E464-33A6-48E2-A3C9-361EFD417DEE}] "RelativePath"="Z:\\" "Category"=dword:00000004 "Name"="ZVirtualDrive" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\KnownFolder\{9147E464-33A6-48E2-A3C9-361EFD417DEE}] "MaxCapacity"=dword:0000c7eb "NukeOnDelete"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{9147E464-33A6-48E2-A3C9-361EFD417DEE}] "RelativePath"="Z:\\" "Category"=dword:00000004 "Name"="ZVirtualDrive" [HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\KnownFolder\{9147E464-33A6-48E2-A3C9-361EFD417DEE}] "MaxCapacity"=dword:0000c7eb "NukeOnDelete"=dword:00000000
the trouble with doing subst on a OneDrive folder is that you don't get the cloud status icons. Unfortunately there is no way to add them unless you just use the c:\users\UserID\OneDrive path.
@tiewnfan heh, let's make a poll: Reply to this reply with 😀 if you think it's bank details Reply to this reply with 😎 if you think it's Windows versions
I just put a shortcut to the folder on my desktop. It never goes away unless I delete it. But I'm sure there are more uses for SUBST and NET USE as well.
I created a drive pool and shared it on my network. So on my other PC I used the NET USE command (as admin) net use X: \\(PCNAME)\(NameOfSharedFolder) /persistent:yes and it worked, but only while in the command line. I can go to the mapped drive (X:) on the command line, but it doesn't appear in file explorer. If I close the command line, and start it back up, the X: drive doesn't exist anymore. What did I miss?
It doesn't just show the command, but shows 3 different ways to use it with explanations. That's quality. And not too long ago i thought there were too many joke videos. I've used computers and os's for a pretty long time now, and I must say, I didn't happen to find the 'virtual drive' commands. I just learned something useful and made a virtual drive Z: .. thanks
i tried to make my onedrive a network storage and the stirage left on it is inaccurate can you tell any way i can acive that Google drive was so simple just intall their application
Hey Joe! This is amazing, but I have an issue where in both the ways, subst and net use, it tells me there is a system 37 error, is it maybe because I'm trying to subst a folder inside a network drive(one in my NAS mapped to Explorer)?
I think the NET USE will only work for the current user. If you want all the computer's users to be able to use the drive letter, first grant everyone access to it in the properties of the folder, then you can select the folder, right-click on it, and map it as a network drive with the letter of your choice.
Thank you!:D Now I can backup my Appdata ("%APPDATA%") folders, without taking up needed space on my computer's drive. (Or on some random drive.) Thank you, again! Much appreciated!;P
Which is also why I can't use it because I disable all of that stuff (I disabled the workstation, computer-browser, server, and SSDP services). It's not worth the hassle of UN-hardening my system when alternate solutions are available (I always just use subst whenever I need it; I even added entries to the context-menus of directories and drives to make it easier 😉).
These are DOS commands, thus many things there are legacy. There no guarantee that DOS will live on indefinitely. I'm not sure if you can do this in PowerShell tho.
To remove subst A: C:\Folder\SubFolder Type: subst A: /D (When A: is the new drive) To remove net use A: "\\PC_NAME\C$\Folder\SubFolder" /persistent:yes Type: net use A: "\\PC_NAME\C$\Folder\SubFolder" /persistent:no For help type: subst /? or: net /?
To remove subst A: C:\Folder\SubFolder Type: subst A: /D (When A: is the new drive) To remove net use A: "\\PC_NAME\C$\Folder\SubFolder" /persistent:yes Type: net use A: "\\PC_NAME\C$\Folder\SubFolder" /persistent:no For help type: subst /? or: net /?
Doesn't work As Administrator because the drives are tied to user. When running "As Administrator" the commands are not tied to the user, thus they can't be edited.
Beware IMPOSTER ACCOUNTS replying to comments telling you to contact them on WhatsApp or anything else! They're scams!
Contact me then 😂
LMAO
For any inquires go to the about section!
Pretty sus
Yeah. I saw one the other day using a TheoJeo account 😂
You're getting pretty technical lately, Joe -- and I like it.
there is a lot of things going on under the hood
I use the subst command all the time. It is a great way to get around Microsoft's path length limit. This is something kept around for backwards compatibility reasons. Some programs don't like it when the total length of a file path, in number of characters starting with the drive letter and ending with the last character in the file name/extension, exceed a certain length -- 256 characters, if I recall.
The subst command has been around for a long time, at least as far back as MS DOS 6.2. I find myself using the command more now than I did in the '90s.
I used this a lot back in the Windows NT 4 and 2K.
you didn't need to type @echo off at the beginning of a batch script that only has one line of code
just enter @ before the command and it'll have the same effect
for example, if you want to start cmd.exe, instead of writing
@echo off
cmd
you can do a one liner, like this:
@cmd
and @ silences the command you’re about to run right?
@@edcdecl No, but it does something slightly different
Normally, Windows displays every command that is being executed and the path where it's being executed from.
Without @ symbol:
C:\Windows\System32> echo hello
hello
With @ symbol:
hello
To hide output of a command, you would redirect its stdout to NUL (a special device file, which allows you to write output of a command to nothing).
e.g.
Without redirect:
C:\Example_folder>dir /b
cat.txt
dog.txt
dummy.dat
With redirect:
C:\Example_folder>dir /b >nul
[no output]
To hide both command display and output, you would use this command: @dir /b >nul
@@markusTegelane Sorry I worded it badly. I meant that it didn’t show the prompt and the command it was about to run. I actually didn’t know about NUL though.
Thanks. I never considered using "net use" for a local folder. I use it for network folders often. This will save me time from changing links in some work I do.
Thank you so much I needed direct one-click way to get to my Developement folder and now I have it as drive. I knew about this method before, but with your help I learned how to prevent dissapearing. Thank you!!
Well, the network drives technically are network drives 😉 You are connecting to them via TCP/IP and your PC doesn't know that they are on the same system. The network shares "c$" are so called hidden administrative shares which are default on windows. They exist for each drive. You can connect to them from any PC, but you need administrative privileges to do so. You also do not need your PCs name. "\\localhost\c$" works just fine. Network drives can also be connected and disconnected via UI.
Good point! Learned this the hard way a few weeks ago
they exist \c$ for example but should never be used for a trivial purpose like this. create a share for the destination directory and then do \\compoutername\sharename instead.
Finally a video on this topic. Have been looking for this the whole time. I wanted to mount the Dropbox folder, but couldn't figure out how to do so. Thanks
Joe, I can always count on you to give a clear concise answer for what I am searching for. Thanks so much!!!
8:00 A couple of programs i use actually end up using the network path itself (i assume it reads it off the network drive properties) rather than the drive letter, e.g. rather than say R:\Test, it'll just use "\\JOE-PC\B$\Test", this caused me a huge headache because, as mentioned at the start one of the cool things about mapping drive letters is that the location itself can change but it'll always just be R:\ - obviously this is defeated if the program just uses the actual full path.
Also, as others have mentioned at least simple network drive stuff can be done via UI
2:20 it will work if you run it as admin. The driver will appear only for the user who ran the subst. So if you then run the file explorer as admin, you'll see it.
Basically, run this as admin if the soft needed it will be run as admin too
And on the downside of subst, many soft will refuse to see them. Also, path to subst drive will often be seen as non existing. This is probably due to the same "only the one crating it see it" thing tho
Oh wow! I'm getting serious flashbacks to setting up folks on Windows 2000. I've not used net use in such a long time. Thanks for the memories, Joe! You da best!
thio probably recorded this after sunset, because his monitors switched to night light mode
Yep right in the middle lol
@@ThioJoe hello
@@ThioJoe get away imposter!
8:17 There are open files and/or incomplete directory searches.....
That happens because when you are in R: and you type "net use r: /d" your default drive is the same as the one you are trying to remove. If you first went to c: then typed it, it doesn't do that. Hope that helps. Great tech advice video and good instructions, keep on producing more for us, it's good stuff. Growls from eastern Pennsylvania.
Also, video made on 9/18, length was 9:18. what a co-inky-dink.
WARNING: _Using these methods will prevent the usage of the recycle-bin._ If you map a drive-letter to a folder, then delete a file from that "drive", it won't be sent to the recycle-bin, it will be permanently deleted. For example, if you map "T:" to "C:\foo", deleteing "C:\foo\bar.txt", it will send "bar.txt" to the recycle-bin, but deleting "T:\bar.txt" will wipe it out. (This applies to subdirectories on the mapped drive-letter as well.)
thanks for all the help with optimizing windows and generally everything u have made. It got me really interested into computers and windows. :)
Fantastic video, great pacing, big thanks
be it doubling the RAM for Free or making virtual drives, Joe always shines! Thanks
I've been using subst since dos 5.0
So useful.
I haven't thought about SUBST since the floppy days under DOS. Very useful for a PC with a single floppy drive, (A:) but some damned program insisted on using drive "B:"
I use subst whenever I have a file whose path is too long (I don't use NTFS hacks to extend MAX_PATH for compatibility reasons). I can subst(itute) a drive-letter for the containing folder, rename the file to something shorter, then remove the drive-mapping. 😉
When we remember 5.25" floppy days, does that make us old?
@@Robert-jd4lxYep, and Even older if you remember 8" floppies! ☺️
@@Robert-jd4lx I have using 8 inch floppy's a lot
Make that me old? Still habe machines with 8 inch.
Back in my DOS days I used subst all the time. I had long since forgotten about it though. Thanks for the info.
Man I love to bump into your videos, tinkering with the OS is pretty interesting. Hope you'll get hands on scripting also.
Years ago I would use the Net Use command to map a folder to a drive letter to get older legacy programs to run properly. I came up with that method when I needed something to run on a specific drive letter and had forgotten about it until now. I would pull out these tricks I came up with over the years when the younger IT guys couldn't figure out how to get something to work, and they'd be reminded that I was old, but was far from a dinosaur.
We have a folder at my work called c:\STOREDATA, which is mounted with net use. We had issues with subst. Is this because we ran it as an administrator? We do all this in a scheduled task at logon. Other computers definitely need net use for it to work...
If you were wondering if a virtual network drive created by "net use" would fool File History that you have an external drive available, the answer seems to be that it won't. Not on Windows 10 anyway.
Nice video Theo ..
You really inspire me alot and always look up to you for my video uploads ...
Thank you so much ❤️
Good info, and stated compactly.
I recall being able to make virtual disks by renaming a zipped folder with a .vhd extension or something like that but I didn't see you mention that in this video
used to use subst for games without proper cd-check but do make sure the files are in the root of a (presumed) cdrom. run faster off a hard drive, no worry about scratching, etc. glad optical is all but gone.
Yup, that was a no-crack crack trick that worked for some games. 😂👍
A scheduled task @ logon that runs the cmd then "mounts" the drive could be another way to do it
I've used robocopy to get past some compatibility issues with copying files to a network drive, not too many other problems so far.
If you need a drive in a service it has to be mounted as admin as services run as a different user than yours and only the admin should be able to mount drives that can be accessed by other user. If I am wrong it is a security flaw :)
Damn. I remember being April fooled by that double the Ram joke you did. Good to see you’re still here 😂
HOW DID YOU GET MORE SPACES BETWEEN THE DETAILS IN THE SIDE BAR IN THIS PC
3:44 AutoHotKey, nice. I also use it for 3 scripts. Btw your setup makes my 'big' 2TB PC on 4 disks look silly xd
me with 128gb
it's also possible to make a folder redirect to another drive's folder
@@sharadjadhav Or NTFS Mount Points.
Very Interesting! And this also explained to me something else I didn't understand - when I installed Google Drive Sync on Windows 7 (so that I can access drive content from File Explorer), the Google Drive contents showed up as a seperate drive in File Explorer. I always wondered how this happened - I guess the program must have done something similar to what you showed here!
I use the DOS Device method for a while and it's the best in my opinion, since the behavior is closest to a real drive. An important advantage you didn't mention is that this works for elevated processes too, while the other methods create drives that elevated processes can't see (which is also why subst run as admin "doesn't work" - it actually does work but the drive can now be seen ONLY by elevated processes). Note however that by default the new drive won't have a recycle bin, but I solved this with another registry modification - (I would have loved to share how but it seems someone keeps deleting this comment when I include a link to my solution... >:-[ ) - Unfortunately, a major version upgrade will wipe both hacks but that's why I put them into reg files that I can just reapply when needed. Also, tiny nitpick: \??\ is NOT an UNC path. It's a native kernel path (object manager path), and the object manager namespace has an entry named ?? on the root level that points to a combined view of \DosDevices and \Sessions\\DosDevices.
OK I guess I can paste the contents of the reg file here for enabling recycle bin on virtual drive Z:
(Note, if you need another virtual drive with recycle bin, you just have to change the CLSID to something else)
---
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{9147E464-33A6-48E2-A3C9-361EFD417DEE}]
"RelativePath"="Z:\\"
"Category"=dword:00000004
"Name"="ZVirtualDrive"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\KnownFolder\{9147E464-33A6-48E2-A3C9-361EFD417DEE}]
"MaxCapacity"=dword:0000c7eb
"NukeOnDelete"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{9147E464-33A6-48E2-A3C9-361EFD417DEE}]
"RelativePath"="Z:\\"
"Category"=dword:00000004
"Name"="ZVirtualDrive"
[HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\KnownFolder\{9147E464-33A6-48E2-A3C9-361EFD417DEE}]
"MaxCapacity"=dword:0000c7eb
"NukeOnDelete"=dword:00000000
commands i've never used before. thank you!
the trouble with doing subst on a OneDrive folder is that you don't get the cloud status icons. Unfortunately there is no way to add them unless you just use the c:\users\UserID\OneDrive path.
very helpful technical tip!
Perfect thanks Thio, good stuff
BIG question: What are the contents on the "A very good file.txt"?!
Hmmmmm
Bank details.
Sussy baka here is trying to hack Thio's computer to get some bank details
@tiewnfan heh, let's make a poll:
Reply to this reply with 😀 if you think it's bank details
Reply to this reply with 😎 if you think it's Windows versions
@@gustukas you know "sussy baka" means 'sus idiot', right?
Why did you assign the letter B to an SSD? respect the ancestral rules of Windows, A and B are for Floppy Drives
*of DOS (Windows just did that for backwards compatibility)
I just put a shortcut to the folder on my desktop. It never goes away unless I delete it. But I'm sure there are more uses for SUBST and NET USE as well.
I created a drive pool and shared it on my network. So on my other PC I used the NET USE command (as admin) net use X: \\(PCNAME)\(NameOfSharedFolder) /persistent:yes and it worked, but only while in the command line. I can go to the mapped drive (X:) on the command line, but it doesn't appear in file explorer. If I close the command line, and start it back up, the X: drive doesn't exist anymore. What did I miss?
I love your videos Thio! Keep up the work!
So by using the 'net use' command, would that be the same as mapping a drive/folder on the same computer with Explorer?
Ah TJ I remember the joys of net use when we used to use Novell for netware and ipx/spx. Back in the Windows 3.11 days
Oh and netbeui as well
There are some things that nostalgia does _not_ rose-tint. 😒
It doesn't just show the command, but shows 3 different ways to use it with explanations. That's quality. And not too long ago i thought there were too many joke videos. I've used computers and os's for a pretty long time now, and I must say, I didn't happen to find the 'virtual drive' commands. I just learned something useful and made a virtual drive Z: .. thanks
i tried to make my onedrive a network storage and the stirage left on it is inaccurate can you tell any way i can acive that Google drive was so simple just intall their application
subst is an old MSDOS command.
Did they bring back "join" too.
Can I use this to connect to cloud drives without external software?
You just keep finding interesting stuff
Hey Joe! This is amazing, but I have an issue where in both the ways, subst and net use, it tells me there is a system 37 error, is it maybe because I'm trying to subst a folder inside a network drive(one in my NAS mapped to Explorer)?
can you please make a video about KMS pico . is that safe or not or is that illegal.
I think the NET USE will only work for the current user. If you want all the computer's users to be able to use the drive letter, first grant everyone access to it in the properties of the folder, then you can select the folder, right-click on it, and map it as a network drive with the letter of your choice.
oh what a fancy cmd, how did you set it like that?
Thank you!:D
Now I can backup my Appdata ("%APPDATA%") folders, without taking up needed space on my computer's drive.
(Or on some random drive.)
Thank you, again!
Much appreciated!;P
You should go into downsides for this, though. What reason is there to not do this? Could it slow down the PC in some way? Can it break things?
Hey Joe!!
Can you do a explain about windows virtual machine platform
Pinning it to your file manager (Explorer since we're talking about Windows) is probably the better idea.
help i cant delete a drive whats this
System error 67 has occurred
Is there no software to do this ?
Network drives can fail any time a PC becomes isolated (not connected to any network). add the MS Loopback virtual adapter manually to avoid this.
I think my method is more easy 🙂 Thank you 👍
Hello, can you do a tutorial how to host and create a FTP server on PC ?
(It would be best if you put it on Windows XP as well.)
useful video
good to know from may something happened or just understand it in a time you'll able to need it good to know
Should do a diskpart uses video😃
Are you going to make a video about NTFS mount-points? 🤔 (Check the Disk Management MMC snap-in. 😉)
So someone else uses MMC, very handy.👍
Damned Useful !! 😸❤❤❤
Thanks Joe
I know a way that would probaly keep the virtual drive even after reboot, you can you the registry editor.
Thanxz Theo
Wow Wow, I like your Videos Cool!
I noticed these commands in an Virtual 68000 Assembly workspace I was using
I thought they were pretty cool.
how to run AutoHotkey script at startup before all other apps
You could also create an actual virtual drive (.vhd file)
It's actually useful for me
Can we create a script for the commands in the entire video?
Of course.
This guy made everyone believe we could install the XB1 OS on the Xbox 360 back in 2014.
I somehow opened command prompt in setup.exe (Windows setup) and it said X:\Admin>
The reason "net use" requires the $ is because B$ is an administrative share and net use will not connect to something that is not shared.
Which is also why I can't use it because I disable all of that stuff (I disabled the workstation, computer-browser, server, and SSDP services). It's not worth the hassle of UN-hardening my system when alternate solutions are available (I always just use subst whenever I need it; I even added entries to the context-menus of directories and drives to make it easier 😉).
What happens If you use a and b 🤔
Thio do you know how to create a VHD?🤔
These are DOS commands, thus many things there are legacy. There no guarantee that DOS will live on indefinitely. I'm not sure if you can do this in PowerShell tho.
Helpful this video stay bless stay safe 😍
Network drive can be created from explorer itself
How do I get rid of it?
To remove subst A: C:\Folder\SubFolder
Type: subst A: /D
(When A: is the new drive)
To remove net use A: "\\PC_NAME\C$\Folder\SubFolder" /persistent:yes
Type: net use A: "\\PC_NAME\C$\Folder\SubFolder" /persistent:no
For help type: subst /?
or: net /?
@@MarkAJAgi thanks it worked!!
i know virtual drive, "subst" command was from ms-dos 2.0 or 3.0 and above, also in windows
It's not really a virtual drive, it just SUBSTitutes a letter for a path.
sir i am from india....can u telll what is people in windows 10 pro....
To remove subst A: C:\Folder\SubFolder
Type: subst A: /D
(When A: is the new drive)
To remove net use A: "\\PC_NAME\C$\Folder\SubFolder" /persistent:yes
Type: net use A: "\\PC_NAME\C$\Folder\SubFolder" /persistent:no
For help type: subst /?
or: net /?
this comment section is way different than it used to be. subst man, that's an old one. but even back when, only the real nerds knew about it.
If thio likes this i will stop playing games 😂
Doesn't work As Administrator because the drives are tied to user. When running "As Administrator" the commands are not tied to the user, thus they can't be edited.
Run the command as admin so that it's entered in HKLM instead of HKCU and it should be available to any user.
I like your 60fps
Now you can rename the drives (not by net use)
You should have called your example drive in the intro "Special Letter (K:)"
Special K
YAY THANKS!