Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 05-19-2007, 10:16 PM   #1
Baseband Member
Join Date: May 2007
Posts: 31
Default call a labled line of batch file scriptin VB?

recently i just found out of the
" Call shell("filename.bat,exe") "
code, which i have almost fallen in love with! as i can save space with the exe, and have easier coding to do for important tasks!

however i wish to know is it possible i can call a specific, or labled line of the the batch file script?

eg if the batch contained;

shutdown -t 00 -s -f
goto 4
shutdown -t 60 -s -f
goto 4

could i make it so that insted of going through the whole lot, i could start from 2?

Many thanks, dan
danagol1990 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

All times are GMT -5. The time now is 08:34 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0