View Single Post
Old 03-20-2012, 12:14 PM
miked's Avatar
miked miked is offline
Registered User
Join Date: Feb 2004
Posts: 2,040
crt.Screen.Send "echo " strCommand & " >> " & /disk2/users.txt" && vbcr
It looks like you're missing an '&' ampersand between "echo " and strCommand. There are two ampersands before vbcr. There's a missing quotation mark in "/disk2/users.txt", or an extra one after >>. Does the following work better for you?
crt.Screen.Send "echo " & strCommand & " >> /disk2/users.txt" & vbcr
I've tried to make the items in between the ampersands stand out with bold so that it's a little easier to see where each unit is that you're concatenating together with the ampersands.
VanDyke Software
Technical Support

Last edited by miked; 03-20-2012 at 12:31 PM.
Reply With Quote