Passing File Names w/Paths Via command_line

new topic     » topic index » view thread      » older message » newer message

I am creating a program to emulate a korn shell script I made that uses a 
parameter file (i.e. *.ini file) that is listed following the program name. The
korn shell script -- named 'ver_daily' -- is called in the following way:

/prod/data/bin/ver_daily /prod/data/parm/ver_daily.prm

The second parm - $2 - is the name of the parameter file the ksh script file 
gets its parameters from. In Euphoria, how can I provide users with the ability
to list a parameter file name along with its path without requiring them to 
enter back-slashes before each slash? 

/prod/data/bin/ver_daily \/prod\/data\/parm\/ver_daily.prm

Likewise, if the program ran on an NT 
environment, how could I code with command_line to avoid users having to enter
double back-slashes? 

C:\prod\data\bin\ver_daily C:\\prod\\data\\parm\\ver_daily.prm 

Dave

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu