Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Launching exe with 2 extra files

$
0
0

Hello

Im trying to launch an exe file with 2 additional files it has to read to work.

What i have so far is:

&'D:\Somepath\some.exe' "D:\somepath\something.FTR" "D:\somepath\something.ini"

How can i get the exe file to launch with the ini file then read the ini file that contains what it needs to launch, and then read from .ftr file.

in CMD the command is:(this works)
D:\Somepath\some.exe "D:\somepath\something.FTR D:\somepath\something.ini


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>