New
#11
When your are at C:\Users\NAMEHERE are you typing just the H: following the \ or are you typing the C:\Users\NAMEHERE>H:? And the quotes are not needed.
When your are at C:\Users\NAMEHERE are you typing just the H: following the \ or are you typing the C:\Users\NAMEHERE>H:? And the quotes are not needed.
When you type in a command the default is to direct the output to the display. You can override that by using redirect operators. One such operator is >. for example, dir > filename.txt, redirects the output of the dir command to the file filename.txt.
Your command is trying to redirect to H: . Since H: by itself is protected then your command is illegal. However, you can redirect to a file, such as H:\file.txt.
DOS is a very fickle in that it requires precise syntax. You can't just make it up. I suggest you learn how to use DOS commands and their syntax. Remember if the syntax is wrong DOS gives an error.
An A-Z Index of Windows CMD commands.
An A-Z Index of Windows CMD commands - SS64.com
A categorized list of Windows CMD commands
Windows CMD Commands (categorized) - Windows CMD - SS64.com
How-to: Redirection
Command Redirection, Pipes - Windows CMD - SS64.com