Welcome, Guest. Please login or register.

Author Topic: THOR's Shell Hacks  (Read 35123 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Kernel

  • Sr. Member
  • ****
  • Join Date: Feb 2006
  • Posts: 292
    • Show all replies
Re: THORs Shell Hacks
« on: January 13, 2017, 04:50:58 PM »
Quote from: Thomas Richter;819623
Probably in time to expand this tutorial a little bit by more "trivia". Did you know that you cannot redirect the output of "Execute" to a file?  

Thus, if you write a small script as follows
Code: [Select]

.KEY DIR

List <DIR>

save that as "T:myList" and then "Execute T:List", then - probably surprisingly - a

Code: [Select]

Execute T:myList SYS: >results


By the way: The above script ("T:myList") contains at least potential problem. Do you see it? Can you fix it?

Probably more on this next time...


DIR is a command...?