Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

VBSCRIPT calling

New Here ,
Aug 26, 2008 Aug 26, 2008

Is it possible to call VBScript function through CFM pages ?


ThePolarExpress
276
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 26, 2008 Aug 26, 2008
Either will do.

<script type="text/vbscript" src="url_to_script_file"></script>

<script type="text/vbscript">
// script code
</script>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 26, 2008 Aug 26, 2008
LATEST
Just seen your other thread. To run the script at server side, I would do as Dan, and use cfexecute. Something along the lines of

<cfexecute name = "C:\WinNT\System32\cscript.exe"
arguments = "/nologo C:\ColdFusion8\wwwroot\website\listFiles.vbs c:\*.*"
outputFile = "C:\Temp\output.txt"
timeout = "5">
</cfexecute>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources