How to supply argument from Run command prompt?

  • Thread starter Thread starter SANTANDER
  • Start date Start date
S

SANTANDER

How to supply argument from Run command prompt? ( path to exe + argument)

Regards,
 
SANTANDER said:
How to supply argument from Run command prompt? ( path to exe + argument)

Regards,

Like so::
"c:\program files\microsoft office\office11\winword.exe" "d:\My
Docs\Sample.doc"
 
This works for me:
notepad c:\myfile.txt
opens a file on my c drive called myfile.txt. Maybe if you told us what exe
and what argument along with any error message you receive, it would be
easier to help you.
Louis
 
Pegasus (MVP) said:
Like so::
"c:\program files\microsoft office\office11\winword.exe" "d:\My
Docs\Sample.doc"
----------

This works, DOS windows shown, but program does not create any output file.
The full syntax is:

PROGNAME input_file[.html] output_file[.ASC], or
PROGNAME input_file[.html]
 
SANTANDER said:
Pegasus (MVP) said:
Like so::
"c:\program files\microsoft office\office11\winword.exe" "d:\My
Docs\Sample.doc"
----------

This works, DOS windows shown, but program does not create any output
file.
The full syntax is:

PROGNAME input_file[.html] output_file[.ASC], or
PROGNAME input_file[.html]

In your example it is the responsibility of ProgName.exe to generate
an output file. Run it from a Command Prompt to test it! To start
a Command Prompt, click Start / Run / cmd {OK}.
 
Pegasus (MVP) said:
SANTANDER said:
Pegasus (MVP) said:
How to supply argument from Run command prompt? ( path to exe +
argument)

Regards,

Like so::
"c:\program files\microsoft office\office11\winword.exe" "d:\My
Docs\Sample.doc"
----------

This works, DOS windows shown, but program does not create any output
file.
The full syntax is:

PROGNAME input_file[.html] output_file[.ASC], or
PROGNAME input_file[.html]

In your example it is the responsibility of ProgName.exe to generate
an output file. Run it from a Command Prompt to test it! To start
a Command Prompt, click Start / Run / cmd {OK}.
 
SANTANDER said:
Pegasus (MVP) said:
SANTANDER said:
How to supply argument from Run command prompt? ( path to exe +
argument)

Regards,

Like so::
"c:\program files\microsoft office\office11\winword.exe" "d:\My
Docs\Sample.doc"
----------

This works, DOS windows shown, but program does not create any output
file.
The full syntax is:

PROGNAME input_file[.html] output_file[.ASC], or
PROGNAME input_file[.html]

In your example it is the responsibility of ProgName.exe to generate
an output file. Run it from a Command Prompt to test it! To start
a Command Prompt, click Start / Run / cmd {OK}.

Again this is the responsibility of progname.exe. I suspect
that this is a 16-bit program compiled with TurboPascal.
Many years ago it was discovered that such programs will
not run on fast machines because of an overflow situation.
Check a TurboPascal user group if this is so or get in touch
with the supplier.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top