J
Joan
Hello,
I'm forced to specify the program with which I want to open a file, I cannot
launch files from the command line directly (and rely on the file extension
association)...
I can launch .exe and .bat fine. If I try to open a text file, it fails :
The association is ok in explorer: If I double click on a text file, it will
open it with notepad.
I can also do:
anyway)
Here is the result of associations commands :
So everything looks fine from what I can tell, only I can't launch the file
directly.
It is a major annoyance because we have a bunch of python scripts that rely
on this file association to launch each other from the command line and they
all fail on my machine due to this problem.
Thanks for any idea, insight, pointers...
I'm forced to specify the program with which I want to open a file, I cannot
launch files from the command line directly (and rely on the file extension
association)...
I can launch .exe and .bat fine. If I try to open a text file, it fails :
"The system cannot execute the specified program"test.txt
The association is ok in explorer: If I double click on a text file, it will
open it with notepad.
I can also do:
and this will work, so notepad is found in the path. (it's in \system32notepad test.txt
anyway)
Here is the result of associations commands :
txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1assoc .txt ..txt=txtfile
ftype txtfile
So everything looks fine from what I can tell, only I can't launch the file
directly.
It is a major annoyance because we have a bunch of python scripts that rely
on this file association to launch each other from the command line and they
all fail on my machine due to this problem.
Thanks for any idea, insight, pointers...