Anything that looks like a directory/pathname with a trailing slash is used to change the current drive in MS-DOS command.com. I know this is true of MS-DOS v7.10 and it also appears to be true for the current lMS-DOS command.com (based on MS-DOS v4.01 with minor changes). The pathname need not correspond to an existing directory. Test case:
Microsoft(R) MS-DOS(R) Version 4.01
(C)Copyright Microsoft Corp 1981-1988
A>c:
C>a:
A>c:\foo
Bad command or file name
A>c:\foo\
C>dir
Volume in drive C is HDA1_CCC
Volume Serial Number is 0000-0000
Directory of C:\
HDA1_CCC ID 9
PART ID 9
2 File(s) 19920384 bytes free
C>