Hello,
Writing short MS DOS batch (.bat) file for Windows XP and need to test result of NET USE.
Here's the pseudo-code of what I'd like to do...
NET USE | FIND "LPT2" --> Put Result Into LPT2-OK variable
IF LPT2-OK is TRUE
THEN Issue Command
ELSE Issue Another Command
Open in new window
What bat code would accomplish this?
Thanks,
Jason
Thanks!