Open text file via batch? -


i trying access text file using batch when user enters command. have tried doing

start e:\programming\important\folder\textfile cls 

and closes cmd window wont open file. mind telling me did wrong? (sorry code not being in gray box im using web browser on phone)

i guess problem textfile has no file extension, windows not know how open it. instead of using start use notepad command, notepad.exe in search path of system, can write:

notepad 'e:\programming\important\folder\textfile' 

this open file.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -