Try this:
<SCRIPT language="PerlScript"> use Win32::Script qw/WScript/; $Shell = WScript('Shell'); $Exec = $Shell->Exec('cat a.txt'); $window->document->write($Exec->StdOut->ReadAll); </SCRIPT>
It prints the content of a.txt file.
With ASP/Perscript, you mostly only need to know how to use Win32::OLE, Win32::Script or other related Win32 wrapper modules. Otherwise, Microsoft COMs (related to ASP or your work) are what you should learn.
In reply to Re: File opening in ASP/Perlscript
by chunlou
in thread File opening in ASP/Perlscript
by wallyweezle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |