Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

How retreive a return value from vbscript in a batch file?

This is a discussion on How retreive a return value from vbscript in a batch file? within the Scripting forums, part of the Web Development category; How retreive a return value from vbscript in a batch file? In batch file "doIt.bat" contains: @echo off cscript askforName.vbs <==> how to assign return value from this script? ==================== ...

Go Back   Geeks Talk > Web Development > Scripting
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Scripting Discuss Issues and Problems related to VB Script, Java Script and other Client Side Scripting

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-26-2009
Expert Member
 
Join Date: Jun 2008
Posts: 212
Thanks: 6
Thanked 12 Times in 11 Posts
learqtptesting is on a distinguished road
How retreive a return value from vbscript in a batch file?

How retreive a return value from vbscript in a batch file?

In batch file "doIt.bat" contains:

@echo off

cscript askforName.vbs <==> how to assign return value from this script?



====================

In my "askforName.vbs" contains below:

Dim name
name = InputBox("Enter your name")

want to return "name" upon this script finished. How?
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Web Development > Scripting

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
how to call a function or sub from another vbscript file? learqtptesting QTP 6 09-03-2009 09:27 AM
how to call a function or sub from another vbscript file? learqtptesting Scripting 1 08-25-2009 04:19 AM
Batch file to login to Sql *plus karthizen Oracle 1 08-13-2009 03:21 PM
Run the Vbscript File pradeep_m QTP 1 01-15-2008 02:12 AM
How to run the Bath file using QTP/Vbscript pradeep.madishetti QTP 1 01-09-2008 10:09 AM


All times are GMT -4. The time now is 09:46 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved