Now, to execute the .dat files created from an
UNIX environment, I need to add the "Subsystem for UNIX-based Applications" on
my Vista. It is present as an optional windows components which you can add by
the below steps:
- Go to run prompt (Windows Key + R) and type
appwiz.cpl
- Click on Turn Windows features on or off
- Check "Subsystem for UNIX-based Applications"
and click on OK
Now, the interesting piece - How to execute the
executable which would generate a HTML output like below:
<HTML>
<Title> Sample Program </Title>
<Body>
<H1> Hello World! </H1>
</Body>
</HTML>
Open a command prompt and run the posix.exe
which will be found in C:\WINDOWS (%WinDir%). That should give you an output
similar to below:
posix: command missing
usage: posix [/u] /c <path> [<args>]
So, we need to supply arguments to the
posix.exe. Below is an example of executing hello.dat with posix.exe.
posix /c hello.dat
|