multiple files in command line arguments or adding command line arguments to a running application

multiple files in command line arguments or adding command line arguments to a running application

Post by eale » Sat, 22 Dec 2007 23:10:05


Hi,
 
I want to be able to open more than one data file in my stand-alone labview application. I can open one file by using cmdarg variable just fine. I want to be able to either
a) have multiple files in the cmdarg variable (I can parse them if they are appended into one string, but now windows is just giving me one file that i clicked even though I may have 3 of them selected in explorer)
or
b) add files one at a time by clicking them, but I want these files to be going to the same labview application (to be appended to the cmdarg?), not starting a new copy of the Labview application every time.
 
I am not 100% that these things are not Windows problems, but there should be something that my application can do to change the way things work out. Thanks!
 
Egor
 
 
 

1. Command Line Arguments for a Non Command Line Program?

2. Run Unix shell command $ parse command line arguments in python


Hello evryone

I am a newbie to python. I have a makefile which i can compile in
UNIX/LINUX, But i
I am planning to write a python script which actually does what my
MAKEFILE does. The make file is

#Makefile and some scripts to give output
#numbers
#Change till sign #END
var1:=564-574
a1 = 23
b1 = 678
kxm = ixm_7.gh
out = c$(var1)_s.gh
imageim
#END
#other files
file1 = sec$(b1).jk
file2 = sgf$(a1)
file3 = p$(b1).gh
prg3scriptfile = prg3_produce.xx
findoutdir = Dir:~/home/
x=67
#work
evrything: prg1 script2 prg3 script4
withoutprg1: script2 prg3 script4
prg1:
s$(ca)$(d) .

script2: Makefile
./script2 -i '$(file2)' -o '$(file1)' -a $(x) -n

prg3:
: > $(prg3scriptfile)
prg3 $(prg3scriptfile)
rm $(prg3scriptfile)
script4:
./script4 $(kxm) $(file2) $(out) $(var1)

I want to write a python script to replace this Makefile.
I Have tried using getopt/optparse for parsing command line options
How to Run Unix shell command from python.

My Task is

Myprg.py a1 b1 kxm out

Kindly suggest me some ideas/comments.

Thanks
koid wayne

3. running command line commands with arguments...

4. command line arguments and processing of the arguments

5. Getting arguments from STDIN when command line arguments are missing

6. Command line arguments when a matlab script file is run.

7. passing command line argument of files to application through registry settings

8. Maximum line length for command line arguments

9. handling command line argument in non-multiple instance program

10. About No-Touch Deployment Applications with Command Line Arguments

11. Application Command Line Arguments

12. parsing command line arguments multiple times

13. How to run a VB pgm from the command line with arguments

14. How to take command line argument and use it to run an upgrade script.

15. newbie running IDLE with command line arguments