I am creating a VBScript to automatically execute my favorite DOS games through DOSBox. Since DOS only supports 8 character file names, when I try to mount the directory “C:\Users\jordanh\Documents\DOS\Roms\INDIAN~3\INDY264” the VBScript sends the enter key instead of “~3\INDY264”, as in VBS “~” = {ENTER}.
Any ideas how to send the “~” character rather than enter?
Have you ever tried concatenation and
Chr()function? Something like: