Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
How to return value from batch file
Name: yuenli Date: September 25, 2008 at 02:03:24 Pacific OS: XP CPU/Ram: Intel P4, 1Gb Product: Dell
Comment:
Hi! May I know how to return value from batch file? Is it anyway to return a value? Thanks.
Name: Razor2.3 Date: September 25, 2008 at 02:07:05 Pacific
Reply:
EXIT /B <number>
0
Response Number 2
Name: lee123abc Date: September 30, 2008 at 05:57:40 Pacific
Reply:
set choice1= set /p choice1=type your first name here... set choice2= set /p choice2=type your surname here... echo Hello %choice1% %choice2%, please give more information or let me know if this is sufficient.
Summary: Hej ... i've asked in "networking" about how to loop a "net send"-mesage. I got the info, that this will work by doing a batch file ... can you help me how to do sort kind of "batch file" ?? Thx in ad...
Summary: My problem is to write a batch file. I want the all the files to be copied from one machine to the other machine automatically. I wrote a small batch file for that. @echo off xcopy /s /e c:\ /// c...