cannot run CMD script from Vista windows explorer

Posted by jamesvista on Super User See other posts from Super User or by jamesvista
Published on 2009-11-18T16:59:25Z Indexed on 2012/06/05 22:42 UTC
Read the original article Hit count: 265

I am running Vista Home Premium. I tried to write a script to do some simple automation.... it does not work!

even the most simple script like:

@echo ON
dir .

does not get executed and only an empty CMD shell pops open when started from explorer. From the cmd windows there is no problem.

This is really weird and I have never seen this before (but wrote many CMD scripts before)

ftype cmdfile and batfile are unchanged from "%1" %*

virusscan done - no problems

Is there a policy setting that might have changed? Any ideas?

© Super User or respective owner

Related posts about windows-vista

Related posts about script