alekdavis:
--------------------------------------------------------------------------------
According to help, this command should work:

  cscript %File%

but as I said above, it causes this error:

  Input Error: There is no file extension in "C:\%File%".

It looks like the WSH engine gets invoked, but PSPad does not translate the
%File% variable to the actual name of the file. Bug?
--------------------------------------------------------------------------------


e.g. current file name is C:\Documents\MyFile.TXT
%File% = MyFile
%FileName% = C:\Documents\MyFile.TXT

It's right, because %File% returns file part without extension. It's nonsence to
write it in form:
"C:\%File%".
if you want to have file without extension, remove '.' from end of this command

-- 
<http://forum.pspad.com/read.php?2,44213,44266>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem