A few years ago it was still possible to do stuff like
subst ?: C:\somepath
Then you had a drive ?: which was accepted by half of your programs but not the others.I don't have a win10 laying around so I can't test if this is still true today.
A few years ago it was still possible to do stuff like
subst ?: C:\somepath
Then you had a drive ?: which was accepted by half of your programs but not the others.I don't have a win10 laying around so I can't test if this is still true today.
As a DoS of DOS: x:\> copy c:\config.sys CLOCK$
Also special DOS filenames:
CON PRN AUX NUL {COM,LPT}[1-9]
https://superuser.com/questions/1362080/which-characters-are...Print autoexec.bat to the dot matrix printer on LPT1?
x:\> copy autoexec.bat lpt1
x:\>
Create a file called foo.txt without an editor? x:\> copy con foo.txt
whatever
whatever
whatever
whatever
^Z<ENTER>
x:\>
A social DoS of any machine with BASIC or similar. 10 INPUT "Press any key to continue..."; $X
20 GOTO 10
When good floppies go bad: General Failure reading drive A:\.
Abort, Ignore, Retry, Fail?> subst ?: C:\somepath
>Then you had a drive ?: which was accepted by half of your programs but not the others.
Neat! Like a Windows version of chroot? Can it be used to stop programs from accessing C?
Windows has the concepts of window stations and sessions. One of these 2 is the namespace for drive letters, as it allows different rdp users to have their own network drives, and also give services their own security context . Take sysinternals winobj to look around. Maybe you can build something chrootlike out of it, I dont really know, I am a bit out of my depth here.