Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Need syntax for action ...  (Read 5187 times)

0 Members and 1 Guest are viewing this topic.

Spoiler



    Specialist

    Thanked: 50
  • Experience: Beginner
  • OS: Windows XP
Re: Need syntax for action ...
« Reply #15 on: March 21, 2008, 01:30:48 PM »
I was saying to try it in the action box with the quotes. I don't think it will work but it won't hurt anything.

I understand you are looking for a way to modify the way the program is opened. I don't know what switches would work with Spipe.exe.  Have you tried to open a CMD window and type /? at the end of Spipe.exe and see if any help comes up?

I am going to look around and see if I can get a little more infor and better way to get this done.

Right now my fall back would be to put a batch file that does everything you want some where on the computer and put the path to it in your action box. Doing this does work, or at least it did for me. It also lets you edit the batch file remotely if you had to sometime down the road.

I will keep looking and let you know what I can dig up.

Thanks
« Last Edit: March 21, 2008, 01:42:29 PM by Spoiler »
Whenever I watch TV and I see those poor starving kids all over the world, I can't help but cry. I mean I would love to be skinny like that, but not with all those flies and death and stuff." - Mariah Carey, Pop Singer

llmeyer1000

    Topic Starter


    Intermediate

    Thanked: 1
    Re: Need syntax for action ...
    « Reply #16 on: March 21, 2008, 01:57:12 PM »
    One more question.

    If we go the batch file/right-click association method, using a command line in the action box like:

    Code: [Select]
    C:\SPIPE\RUN_SPIPE.BAT

    Is there a way to use the filename(and location) that was right-clicked on as a variable in the batch file?  ??? Maybe something like:

    Code: [Select]
    C:\SPIPE\RUN_SPIPE.BAT %1

    This would help considerably.  :)
    The batch file as written requires operator input - typing in the filename and output location.

    jsmith1983



      Rookie

      Re: Need syntax for action ...
      « Reply #17 on: March 21, 2008, 02:39:51 PM »
      that is my question

      How do you create your variable in your batch file, to be the name of the input file.

      for example

      file name is problem.inp

      c:\[path]\spipe.exe < =filename.inp>=filename.out

      also does would it automaticaly know the path to filename.

      looks like we are close.

      thanks for the help.

      jsmith1983



        Rookie

        Re: Need syntax for action ...
        « Reply #18 on: March 22, 2008, 08:44:49 AM »
        anybody have any idea on how to set a variable to equal the file name?